[Koha-bugs] [Bug 15524] Set limit on maximum possible holds per patron by category

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 28 17:30:17 CEST 2017


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

--- Comment #2 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 64707
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=64707&action=edit
Bug 15524 - Set limit on maximum possible holds per patron by category

It's possible to set a limit on the maximum number of holds for a particular
branch/category/itemtype, but not on the total number of holds for a given
patron (by branch/category).
This new rule works in conjunction with the existing branch/borrower/item rules
in that Koha will use the lower of the two limits. This new rule counts all
holds of all types, which prevents bib-level holds from not being counted for
the purpose of these limits. This makes the most sense and was also requested
by the sponsor.

Test Plan:
1) Apply this patch
2) Run updatedatabase.pl
3) Go to the circ rules editor, note the new max holds rules
   by patron category in the "Checkout limit by patron category".
   ( Should we rename this section? )
4) Create find a patron that is allowed to place a hold, count the
   number of holds that patron has. Lets make that number 'X'.
5) Set the new max holds rule to X for "All libraries"
6) Note the patron can no longer place another hold
7) Set the new max holds rule to X + 1 for the patron's home library
8) Note the patron can again place another hold
9) Set the new max holds rule to X for the patron's home library
10) Note the patron can no longer place another hold

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


More information about the Koha-bugs mailing list