Process still-shelved, canceled holds in clear-shelf process
authorBill Erickson <berick@esilibrary.com>
Wed, 14 Dec 2011 18:36:05 +0000 (13:36 -0500)
committerThomas Berezansky <tsbere@mvlc.org>
Wed, 14 Dec 2011 20:19:17 +0000 (15:19 -0500)
commit11c9d08d61d0d8fa9a4d68c42367e398b930e2d5
tree848178acb01261f9b2d0c3edcd10da7f39fac2ee
parentfb2229781b11f34508713a6cd36162aa85654b93
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>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm