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:37 +0000 (12:07 -0500)
commit14d1a2670dcb1ca1ec7ff6bab67d2806add2ae64
tree46d50f9b86e106a03c12412845aef49e85b28260
parentdecf587b66b9cc5e3b2133698534771fa3810a1a
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