From: Mike Rylander Date: Thu, 30 Aug 2018 20:37:21 +0000 (-0400) Subject: LP#1712854: Include shelf-expired holds in the "clearable" set X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6829ae7e746990cca236a7cf543abe3039d35852;p=working%2FEvergreen.git LP#1712854: Include shelf-expired holds in the "clearable" set Signed-off-by: Mike Rylander Signed-off-by: Kathy Lussier --- 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 46a9ed023c..238746ce31 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 @@ -2173,7 +2173,7 @@ SELECT h.id, h.request_time, h.capture_time, h.fulfillment_time, h.checkin_time ELSE 5 END AS hold_status, - (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 < 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,