]> git.evergreen-ils.org Git - Evergreen.git/commit
Clear hold shelf/shelf_expire time for pickup lib change
authorBill Erickson <berick@esilibrary.com>
Tue, 13 Dec 2011 19:32:45 +0000 (14:32 -0500)
committerThomas Berezansky <tsbere@mvlc.org>
Wed, 14 Dec 2011 19:59:10 +0000 (14:59 -0500)
commit03f59215d8f659619135b8c30974b1196fa17728
tree3eb556965ef1a6716a97d34b6fc343a1df1b538b
parent6b3b8fd90f5649175f51fe9e76eebfc17333e4d3
Clear hold shelf/shelf_expire time for pickup lib change

If a hold is on the holds shelf and the pickup library changes, clear
the shelf_time and shelf_expire_time, since the hold is now in transit.

This is particularly important for avoiding action_trigger events for
the "hold_request.shelf_expires_soon" hook for what is now an
in-transit item.

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