From 194ec03cb0225384e4a3d7e67f2482dd470371d2 Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 24 Sep 2010 19:30:10 +0000 Subject: [PATCH] removed extra {}'s from where clause git-svn-id: svn://svn.open-ils.org/ILS/trunk@17972 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../src/perlmods/OpenILS/Application/Circ/Holds.pm | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm index 2f1969e589..1cd15bb4b4 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm @@ -1045,19 +1045,17 @@ sub retrieve_hold_queue_status_impl { { "class" => "ahr", "field" => "request_time" } ], distinct => 1, - where => { - { - '+ahcm' => { - target_copy => { - in => { - select => {ahcm => ['target_copy']}, - from => 'ahcm', - where => {hold => $hold->id} - } + where => { + '+ahcm' => { + target_copy => { + in => { + select => {ahcm => ['target_copy']}, + from => 'ahcm', + where => {hold => $hold->id} } - } + } } - } + } }); if (!@$q_holds) { # none? maybe we don't have a map ... -- 2.11.0