[open-ils-commits] [GIT] Evergreen ILS branch rel_3_5 updated. 9d2e286e89f100e60947fb17974f2d515a9828c6
Evergreen Git
git at git.evergreen-ils.org
Tue Apr 21 09:46:10 EDT 2020
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_3_5 has been updated
via 9d2e286e89f100e60947fb17974f2d515a9828c6 (commit)
from 43bcfcbb5d41a62c91fd75b2e4cdadce2c3bd7b8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9d2e286e89f100e60947fb17974f2d515a9828c6
Author: Steven Callender <stevecallender at esilibrary.com>
Date: Tue Mar 19 12:57:55 2019 -0400
LP#1819540 - Change expire list to match what the hold expire function
Updated to use 'today'::timestamptz as suggested by Mike Rylander.
Testing:
1. Update a few holds that show up on the hold shelf so their shelf time
is set to now.
2. Confirm that you see them on the holds shelf.
3. Show clearable holds, holds are on the list.
4. Check in one of the items, and see that it goes back on the hold shelf.
After Fix Applies.
1. Update a few holds that show up on the hold shelf so their shelf time
is set to now.
2. Confirm that you see them on the holds shelf.
3. Show clearable holds, holds are no longer on the list.
Signed-off-by: Steven Callender <stevecallender at esilibrary.com>
Signed-off-by: Josh Stompro <stompro at stompro.org>
Signed-off-by: John Amundson <jamundson at cwmars.org>
Signed-off-by: Jason Stephenson <jason at sigio.com>
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 2a5c87e9b4..6c69acb937 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
@@ -2177,7 +2177,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 < 'today'::timestamptz 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,
-----------------------------------------------------------------------
Summary of changes:
.../src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list