removed extra {}'s from where clause
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 24 Sep 2010 19:30:10 +0000 (19:30 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 24 Sep 2010 19:30:10 +0000 (19:30 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17972 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm

index 2f1969e..1cd15bb 100644 (file)
@@ -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 ...