Hold current_shelf_lib API for setting/clearing.
authorBill Erickson <berick@esilibrary.com>
Tue, 27 Dec 2011 18:18:08 +0000 (13:18 -0500)
committerBill Erickson <berick@esilibrary.com>
Wed, 4 Jan 2012 19:40:00 +0000 (14:40 -0500)
commit46a751a8a8ded31c2dd7cfe96d9385e9037c353f
treee5b05cdc973f533cf4d1ede40079e2d8674fda0c
parenta9e670511c2953bcd16fce74a48cd8b7a7cb43e0
Hold current_shelf_lib API for setting/clearing.

Sets and clears the hold.current_shelf_lib value as appropriate during
hold capture, transit checkin, hold resetting, etc.

Also, we now create hold transits (instead of regular transits) when a
captured copy is (unexpectedly) found at the wrong branch and needs to
transit to the pickup lib.  This can happen if the captured copy simply
transits to the wrong place (existing behavior) or the pickup lib for
the hold was changed while the copy was on the shelf (new behavior).

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm