[Koha-bugs] [Bug 18321] One more checkouts possible than allowed by rules

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 31 19:50:57 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18321

--- Comment #14 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 61760
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61760&action=edit
Bug 18321: Correctly calculate switch_onsite_checkout

Silly error here, the $switch_onsite_checkout is not correctly
calculated, it should not only be set to the value of the syspref, but
meet all the conditions.

Test plan:
Set a circ rule with number of on-site checkout = 2 and number of
checkouts = 2.
Switch on both ConsiderOnSiteCheckoutsAsNormalCheckouts and
SwitchOnSiteCheckouts

Do a regular checkout
Do another regular checkout
At this point you have reach the maximum number of checkouts allowed.
Not try another one.
=> Without this patch you will not get the warning
=> With this patch you will see it

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


More information about the Koha-bugs mailing list