[open-ils-commits] r18041 - trunk/Open-ILS/src/perlmods/OpenILS/Application (miker)

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


Author: miker
Date: 2010-09-27 15:16:57 -0400 (Mon, 27 Sep 2010)
New Revision: 18041

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

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm	2010-09-27 19:14:14 UTC (rev 18040)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm	2010-09-27 19:16:57 UTC (rev 18041)
@@ -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