From 06a5edbe25b7bd5eb6cb57c504c061dd29b5053e Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Fri, 11 Apr 2014 14:09:35 -0400 Subject: [PATCH] LP#1306753: Only look at holds that expire before 'today' We should not count today when generating the hold expiration list. So, we'll look for holds that expire before 'today' instead of those that expire before 'now'. Signed-off-by: Mike Rylander --- Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm index 45b213346f..35b73ca0e2 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm @@ -2148,7 +2148,7 @@ sub fetch_captured_holds { }; if($self->api_name =~ /expired/) { $query->{'where'}->{'+alhr'}->{'-or'} = { - shelf_expire_time => { '<' => 'now'}, + shelf_expire_time => { '<' => 'today'}, cancel_time => { '!=' => undef }, }; } -- 2.11.0