Fix "Retarget Local Holds" for non-holdable copies user/tsbere/checkin_retarget_fix
authorThomas Berezansky <tsbere@mvlc.org>
Fri, 19 Aug 2011 13:46:40 +0000 (09:46 -0400)
committerThomas Berezansky <tsbere@mvlc.org>
Fri, 19 Aug 2011 13:46:40 +0000 (09:46 -0400)
commitddde0394cb9f016a357e21705a1d73b1b9d207f0
tree43f61ead4f419372d2e33877a8854bfc9a8b4af9
parentb01a0ee3a8567dfcb8cd3392e9c1d14e8dc370ef
Fix "Retarget Local Holds" for non-holdable copies

Specificially:

Wrap holdable check in is_true
Add check for current copy status holdable
Add check for current copy location holdable

The latter stores the fetched location for later use.
The one later use I found updated to check if the location is a reference.

The update copy code already checks if location is a reference and deals
with it properly.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm