[open-ils-commits] r18042 - branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Sep 27 15:17:31 EDT 2010


Author: miker
Date: 2010-09-27 15:17:27 -0400 (Mon, 27 Sep 2010)
New Revision: 18042

Modified:
   branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm
Log:
Backport r18041 from trunk: Correct the subquery for A/T opt_in_setting

Modified: branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm
===================================================================
--- branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm	2010-09-27 19:16:57 UTC (rev 18041)
+++ branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm	2010-09-27 19:17:27 UTC (rev 18042)
@@ -469,7 +469,7 @@
                 '-exists' => {
                     from  => 'aus',
                     where => {
-                        name => $def->id,
+                        name => $def->opt_in_setting,
                         usr  => { '=' => { '+' . $hook_hash{$def->hook}->core_type => $def->usr_field } },
                         value=> 'true'
                     }



More information about the open-ils-commits mailing list