http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8236
Koha Team Lyon 3 <k...@univ-lyon3.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #22280|0 |1 is obsolete| | --- Comment #70 from Koha Team Lyon 3 <k...@univ-lyon3.fr> --- Created attachment 34234 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34234&action=edit Bug 8236 Renewing policy in overdue or restriction case The patch have been remade again in a slight different way : It now introduces 2 sysprefs : RestrictionBlockRenewing to allow/block renewal of items when patron is restricted. OverduesBlockRenewing to allow, block only the late ones or block all checked out items. Default is "allow" in both case. Test Plan : Apply patch. The database must then be updated (so it cannot be tested on sandbox unless you asked the maintainer for doing so). RestrictionBlockRenewing is set by default to allow renewing of late items : 1) choose a borrowernumber (you also need his login and password) and 2 items : item1 and item2. 2) check out item1 3) check out item2 with an already passed due date (using the Specify-due-date box) 4) click on restritions tab and add a manual restriction You can see that renewal is still possible for both items. 5) Now go to set the syspref to block status and go back to patron's account : You can see a "not renewable : patron restricted" warning instead of the previous checkboxes. 6) check the "Override renewal limit" checkbox tand verify that renewing is still possible by this way OverduesBlockRenewing is set by default to allow renewing of late items : 7)Now remove the restriction, set the OverdueBlockRenewing syspref to "Block renewal only for late items" and go back to patron's professionnal page 8) The renewal is possible for item1 and not allowed for item2 (a "Not allowed : overdue" warning is displayed). 9) Set syspref to "Block renewal for all items".. 10) Both items display the "not allowed" warning instead of a checkbox. 11) set the syspref to "allow renewal" 12) Both items can be renewed 13) check the "Override renewal limit" checkbox and verify that renewing is still possible by this way. 14) Connect to the patron's personal file and note that both items are renewable. 15) Redo stages 7 up to 10. Olivier Crouzet -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/