Bug 22330: Transfer limits should be respected for placing holds in staff interface...
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 8 Feb 2019 19:46:18 +0000 (14:46 -0500)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 21 Mar 2019 16:22:56 +0000 (16:22 +0000)
commita57723fc594e92a197da9470959d4067e3d63221
treedfb831fbaa15d3117bc6fd23590e7d76b3ac1c1d
parentdccc6242fffe8133e07927658327d4bb0d05dd48
Bug 22330: Transfer limits should be respected for placing holds in staff interface and APIs

Branch transfer limits are respected for placing holds in the OPAC but nowhere else. This should be remedied.

Test Plan:
1) Set up a branch transfer limit from Library A to Library B
2) Verify you cannot set up a hold for an item from Library A for pickup at Library B from the staff interface ( without overriding )
3) Verify you cannot place that hold via ILS-DI
4) Verify you cannot place that hold via SIP
4) Verify a forced hold from Library A to Library B will not show up in the holds queue

Signed-off-by: Liz Rea <wizzyrea@gmail.com>

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

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/HoldsQueue.pm
C4/ILSDI/Services.pm
C4/Reserves.pm
C4/SIP/ILS/Transaction/Hold.pm
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
koha-tmpl/intranet-tmpl/prog/js/circ-patron-search-results.js
reserve/request.pl
t/db_dependent/Holds/HoldFulfillmentPolicy.t
t/db_dependent/HoldsQueue.t
t/db_dependent/ILSDI_Services.t
t/db_dependent/Reserves.t