Clear shelf canceled holds notification fix user/berick/clear-shelf-notify-repair-cancel-time
authorBill Erickson <berick@esilibrary.com>
Mon, 24 Oct 2011 20:27:29 +0000 (16:27 -0400)
committerBill Erickson <berick@esilibrary.com>
Mon, 24 Oct 2011 21:33:00 +0000 (17:33 -0400)
commit68b213367ea2915a11ae859c6e22cd3067e8f8ca
treefbac957fc21fbe19bed938018d61e6a5f3f051c1
parent9df73cf0035b9f9f804cdab74719bad5bdc1a2d2
Clear shelf canceled holds notification fix

After cancelling a batch of holds via the clear-shelf process, before we
send the holds off to action/trigger for potential notification
generation, re-fetch the holds from the DB to pick up the calculated
cancel_time value (i.e. get a real value for "now").  Otherwise, A/T may
die attempting to create a DateTime object by parsing "now".

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