Koha/t/db_dependent/Holds
Kyle M Hall 456348aba9 Bug 15532: Add ability to allow only items whose home/holding branch matches the hold's pickup branch to fill a given hold
Some libraries would like to be able to limit hold filling to items that
match the pickup library for a hold based on the item's home or holding
library. The patron's home library should not affect whether a patron
can place the hold, instead the hold will only be fillable when an item
matching the pickup location becomes available.

Test Plan:
1) Apply this patch
2) Run updatedatabase.pl
3) Note the new "Hold pickup library match" rules for "checkout, hold,
   and return policy" and for "holds policy by item type"
4) Set the policy to "item's holding library"
5) Place a hold where the item's holding branch does not match
   the pickup branch
6) Check in the item
7) Note it is not trapped for the hold
8) Update the item's holding branch to match the pickup branch
8) Check in the item
9) Note the item is trapped for the hold
10) Repeat steps 4-9 but for home branch instead

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as described

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
2016-04-29 09:49:07 +00:00
..
HoldFulfillmentPolicy.t Bug 15532: Add ability to allow only items whose home/holding branch matches the hold's pickup branch to fill a given hold 2016-04-29 09:49:07 +00:00
LocalHoldsPriority.t Bug 14878: Tests - Create the branchcodes when needed 2015-11-06 15:51:51 -03:00
RevertWaitingStatus.t Bug 14878: (QA followup) Remove useless diag 2015-11-06 15:51:52 -03:00