]> git.evergreen-ils.org Git - Evergreen.git/commit
Clear shelf canceled holds notification fix
authorBill Erickson <berick@esilibrary.com>
Mon, 24 Oct 2011 20:27:29 +0000 (16:27 -0400)
committerMike Rylander <mrylander@gmail.com>
Tue, 15 Nov 2011 17:07:24 +0000 (12:07 -0500)
commit6c8d8bc88eda71c54b9833d2480ff8859b2c088f
tree8e569440ff9e8b69f4debc3a126e4caa21276184
parent240685d185761087aba05b48efccc7796d91aecb
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>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm