[Koha-bugs] [Bug 8236] Prevent renewing if overdue or restriction

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 22 10:55:21 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8236

--- Comment #33 from Koha Team Lyon 3 <koha at univ-lyon3.fr> ---
To tell the truth, there was a confusion in my mind at the beginning between
the two aspects, restriction and delay, of the problem but the last patch
treated only the delay question (the bug might have to be renamed). I added a
checking on restriction only in ILSDI but to make it coherent with what happens
in patron file (renewing is already impossible if a patron is restricted
because the file is freezen). I found unusefull to add a check in moremember.pl
and circulation.pl because as the restriction message appears clearly in the
page, I think we can leave it to the power of the librarian to force the
renewal or not. That said, I agree, it's better to separate into two different
patches.
As to your second remark, I insist that my solution is working for every
options the loop is done in every case, the difference is that when blockall is
choosen, CanBookBeRenewed is not called, which spares some extra sql queries.
I will try to propose a new patch theese days with the necessary corrections
(in renewscript.pl too).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list