Process still-shelved, canceled holds in clear-shelf process user/berick/clear-hold-shelf-process-canceled
authorBill Erickson <berick@esilibrary.com>
Wed, 14 Dec 2011 18:36:05 +0000 (13:36 -0500)
committerBill Erickson <berick@esilibrary.com>
Wed, 14 Dec 2011 18:36:05 +0000 (13:36 -0500)
commitda8937bc9fedd6f8d510c1969ed1f23b8d300ca0
tree49adc9a282f2d0dbe13ff3bf4308f12d638fa856
parent5b4b7003d59238ba04d745b21adbb1d8c2005b2f
Process still-shelved, canceled holds in clear-shelf process

Holds that are canceled but still physically on the hold shelf are
processed like other holds during the clear-shelf process.  They will be
grouped in the same manner and if a custom post-clear status is
configured, copies linked to already-canceled holds will get the custom
status.  The only difference is already-canceled holds will not be
re-canceled during the clear-shelf process.

This change has the added benefit of leveraging another API call to
retrieve the shelf-expired holds instead of using its own custom
json-query.

See https://bugs.launchpad.net/evergreen/+bug/904332

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