From: Steven Callender Date: Tue, 19 Mar 2019 16:57:55 +0000 (-0400) Subject: LP#1819540 - Change expire list to match what the hold expire function X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=874942ce9cc1d10abb02819e4036ce68c097d452;p=working%2FEvergreen.git LP#1819540 - Change expire list to match what the hold expire function Signed-off-by: Steven Callender --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm index 4a49804acc..448ecade12 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm @@ -2175,7 +2175,7 @@ SELECT h.id, h.request_time, h.capture_time, h.fulfillment_time, h.checkin_time ELSE 4 END AS hold_status, - (h.shelf_expire_time < NOW() OR h.cancel_time IS NOT NULL OR (h.current_shelf_lib IS NOT NULL AND h.current_shelf_lib <> h.pickup_lib)) AS clear_me, + (h.shelf_expire_time < date(NOW()) OR h.cancel_time IS NOT NULL OR (h.current_shelf_lib IS NOT NULL AND h.current_shelf_lib <> h.pickup_lib)) AS clear_me, (h.usr <> h.requestor) AS is_staff_hold,