From 9d7baef623ceef01daa261eb5819065e9b52848a Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 25 Apr 2013 11:54:40 -0400 Subject: [PATCH] LP#1172893: fix query for retrieving available holds Signed-off-by: Bill Erickson Signed-off-by: Galen Charlton Signed-off-by: Ben Shum --- 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 fc43e1d89a..cde9619037 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm @@ -570,7 +570,7 @@ sub retrieve_holds { if($available) { $holds_query->{where}->{shelf_time} = {'!=' => undef}; # Maybe? - $holds_query->{where}->{pickup_lib} = {'=' => 'current_shelf_lib'}; + $holds_query->{where}->{pickup_lib} = {'=' => {'+ahr' => 'current_shelf_lib'}}; } } -- 2.11.0