From: Jason Stephenson Date: Thu, 8 Nov 2012 16:32:06 +0000 (-0500) Subject: Repair syntax on line 559 of Holds.pm X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=13236a0af07ee4b56d5fdaf33105537a1d692b4e;p=evergreen%2Fpines.git Repair syntax on line 559 of Holds.pm A change was introduced when listing available holds that has incorrect JSON syntax. This caused available holds not to be returned by the query. Changing '+ahr' to '=' in the query resolves this. Signed-off-by: Jason Stephenson 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 be54c6821a..1a647c9642 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm @@ -556,7 +556,7 @@ sub retrieve_holds { if($available) { $holds_query->{where}->{shelf_time} = {'!=' => undef}; # Maybe? - $holds_query->{where}->{pickup_lib} = {'+ahr' => 'current_shelf_lib'}; + $holds_query->{where}->{pickup_lib} = {'=' => 'current_shelf_lib'}; } }