Koha/installer/data/mysql
Kyle M Hall 7e956e85b1 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

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-08-24 16:23:27 +00:00
..
atomicupdate Bug 15524: Set limit on maximum possible holds per patron by category 2018-08-24 16:23:27 +00:00
de-DE Bug 20683: Update German web installer for 18.05 2018-08-10 10:34:42 +00:00
en Bug 19191: Fix capitalization of notice titles 2018-07-23 15:08:59 +00:00
es-ES Bug 19191: Add non-english notices 2018-07-23 15:09:00 +00:00
fr-CA Bug 19191: Add non-english notices 2018-07-23 15:09:00 +00:00
fr-FR Bug 19191: Add non-english notices 2018-07-23 15:09:00 +00:00
it-IT Bug 19191: Add non-english notices 2018-07-23 15:09:00 +00:00
mandatory Bug 21144: Add ROADTYPE to default authorised values categories 2018-08-21 11:45:20 +00:00
nb-NO Bug 19191: Add non-english notices 2018-07-23 15:09:00 +00:00
pl-PL Bug 19191: Add non-english notices 2018-07-23 15:09:00 +00:00
ru-RU Bug 19191: Add non-english notices 2018-07-23 15:09:00 +00:00
uk-UA Bug 19191: Add non-english notices 2018-07-23 15:09:00 +00:00
account_offset_types.sql Bug 20997: (QA follow-up) POD fixes and offset type consistency 2018-08-10 12:30:36 +00:00
audio_alerts.sql Bug 11431: (QA followup) Make audio alerts sql top level 2015-11-04 12:33:53 -03:00
backfill_statistics.pl Bug 16011: $VERSION - Remove comments 2016-03-24 17:20:29 +00:00
fix_unclosed_nonaccruing_fines_bug17135.pl Bug 17135: [QA Follow-up] Changes as to reporting 2016-09-16 10:47:03 +00:00
kohastructure.sql Bug 15524: Set limit on maximum possible holds per patron by category 2018-08-24 16:23:27 +00:00
labels_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
patroncards_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
sysprefs.sql Bug 21226: DB Changes 2018-08-16 13:20:21 +00:00
update22to30.pl
updatedatabase.pl Bug 19719: DBRev 18.06.00.019 2018-08-22 13:57:02 +00:00
userflags.sql Bug 2426: Remove deprecated management permission 2018-06-08 12:17:25 +00:00
userpermissions.sql Bug 11911: Add a separate permission for managing suggestions 2018-07-23 15:34:20 +00:00