]> git.koha-community.org Git - koha.git/commit
Bug 11126 - Make the holds system optionally give precedence to local holds
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 23 Oct 2013 15:58:34 +0000 (11:58 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 4 Nov 2014 21:53:37 +0000 (18:53 -0300)
commit6b2d2abb1945af5fb2f9d5d0d824e08ef3b7865e
treed30cdf032d3257208f4ec820b5e9323b2f68e069
parent3cbf7547023a36166a0dd51d2a778623fc4b6aa0
Bug 11126 - Make the holds system optionally give precedence to local holds

This feature will allow libraries to specify that, when an item is returned,
a local hold may be given priority for fulfillment even though it is
of lower priority in the list of unfilled holds.

This feature has three settings:
* LocalHoldsPriority, which enables the feature
* LocalHoldsPriorityPatronControl, which selects for either tha patron's
  home library, or the patron's pickup library for the hold
* LocalHoldsPriorityItemControl, which selects for either the item's
  holding library, or home library.

So, this feature can "give priority for filling holds to
patrons whose (home library|pickup library) matches the item's
(home library|holding library)"

Test Plan:
1) Apply this patch
2) Run t/db_dependent/Holds/LocalHoldsPriority.t

Signed-off-by: Joel Sasse <jsasse@plumcreeklibrary.net>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Reserves.pm
installer/data/mysql/sysprefs.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
t/db_dependent/Holds/LocalHoldsPriority.t [new file with mode: 0755]