Fix "Retarget Local Holds" for non-holdable copies
authorThomas Berezansky <tsbere@mvlc.org>
Fri, 19 Aug 2011 13:46:40 +0000 (09:46 -0400)
committerMike Rylander <mrylander@gmail.com>
Tue, 23 Aug 2011 18:13:13 +0000 (14:13 -0400)
commite73ac7870b2f3eb7df696474a4b8cf4c6e8bdea2
treef5a7ba153b5d61d47fa0d281e5fe562e9fb8a5e1
parent1bf028d6ee6c2ee620c7b56f6d9d5f5ac7631456
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>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm