From: Bill Erickson Date: Thu, 25 Apr 2013 15:54:40 +0000 (-0400) Subject: LP#1172893: fix query for retrieving available holds X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9d7baef623ceef01daa261eb5819065e9b52848a;p=contrib%2FConifer.git LP#1172893: fix query for retrieving available holds Signed-off-by: Bill Erickson Signed-off-by: Galen Charlton Signed-off-by: Ben Shum --- 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'}}; } }