From 803bd55a3a5d4c714731632e4bb1c0c8aed15f41 Mon Sep 17 00:00:00 2001 From: miker Date: Fri, 24 Sep 2010 19:38:22 +0000 Subject: [PATCH] Backport r17972 from trunk: removed extra {}s from where clause git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@17973 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