Auto-retarget local holds on "new" copy checkin
authorThomas Berezansky <tsbere@mvlc.org>
Thu, 14 Jul 2011 20:49:05 +0000 (16:49 -0400)
committerThomas Berezansky <tsbere@mvlc.org>
Thu, 14 Jul 2011 20:51:05 +0000 (16:51 -0400)
commit0dfc42df229d9dc5846b90a33760e9a98e4b49ee
tree8b30a3c89eaec0057110230aa7944fa511bcac1d
parent8c92c075582aad5d05974f434ba1ef3e2802e122
Auto-retarget local holds on "new" copy checkin

When a new item is checked in local holds will be searched and re-targeted.

The search and retarget stops when a hold is found locally that the item can fill.

Already-captured holds will not be retargeted.

"New" is (currently) defined as "In progress" at checkin

Retarget occurs:
Only if the copy's circ library is the checkin library
Only if the checkin is an actual checkin (not a renewal)
Only if the checkin is capturing holds and transits

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm
Open-ILS/web/opac/locale/en-US/lang.dtd
Open-ILS/xul/staff_client/server/circ/checkin.js
Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul
Open-ILS/xul/staff_client/server/skin/circ.css