Auto-retarget local holds on "new" copy checkin
authorThomas Berezansky <tsbere@mvlc.org>
Thu, 14 Jul 2011 20:49:05 +0000 (16:49 -0400)
committerJason Etheridge <jason@esilibrary.com>
Wed, 27 Jul 2011 20:36:40 +0000 (16:36 -0400)
commit17b59ca81aa55dfc30faba285c55794e1e9a91f1
tree496b51d37ee786fee2004bbaec78011da2cea181
parentb269c7ea26fda42693bf7cdab8fcd9d3b9956bd6
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>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
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