[open-ils-commits] r17972 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Sep 24 15:30:14 EDT 2010


Author: erickson
Date: 2010-09-24 15:30:10 -0400 (Fri, 24 Sep 2010)
New Revision: 17972

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm
Log:
removed extra {}'s from where clause

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm	2010-09-24 18:59:16 UTC (rev 17971)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm	2010-09-24 19:30:10 UTC (rev 17972)
@@ -1045,19 +1045,17 @@
             { "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 ... 



More information about the open-ils-commits mailing list