[Koha-bugs] [Bug 17978] Circ rules will not limit holds

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 19 20:48:26 CET 2017


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

--- Comment #12 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 69927
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69927&action=edit
Bug 17978 - Circ rules will not limit holds

The crux of this issue is that all those holds are unfilled record level holds.
The code that checks for the number of holds the user already has *always* uses
a branchcode of some form. Because of this, any open record level holds are
completely ignored for this purpose.

Test Plan:
1) Set ReservesControlBranch to "item's home library"
2) Set an All libraries/All Patrons/All itemtypes rules limiting a patron to 2
holds
3) Place 3 record level holds, you can but you should not be able to!
4) Delete the holds
5) Apply this patch
6) Attempt to place 3 record level holds
7) Note that you cannot!

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


More information about the Koha-bugs mailing list