[open-ils-commits] r17973 - branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Circ (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Sep 24 15:38:27 EDT 2010
Author: miker
Date: 2010-09-24 15:38:22 -0400 (Fri, 24 Sep 2010)
New Revision: 17973
Modified:
branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm
Log:
Backport r17972 from trunk: removed extra {}s from where clause
Modified: branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm
===================================================================
--- branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm 2010-09-24 19:30:10 UTC (rev 17972)
+++ branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm 2010-09-24 19:38:22 UTC (rev 17973)
@@ -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