[open-ils-commits] r14698 - in tags/rel_1_6_0_0/Open-ILS: examples src/support-scripts (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Oct 30 09:19:05 EDT 2009
Author: erickson
Date: 2009-10-30 09:19:03 -0400 (Fri, 30 Oct 2009)
New Revision: 14698
Modified:
tags/rel_1_6_0_0/Open-ILS/examples/action_trigger_filters.json.example
tags/rel_1_6_0_0/Open-ILS/src/support-scripts/action_trigger_runner.pl
Log:
repaired function name and JSON
Modified: tags/rel_1_6_0_0/Open-ILS/examples/action_trigger_filters.json.example
===================================================================
--- tags/rel_1_6_0_0/Open-ILS/examples/action_trigger_filters.json.example 2009-10-30 13:18:50 UTC (rev 14697)
+++ tags/rel_1_6_0_0/Open-ILS/examples/action_trigger_filters.json.example 2009-10-30 13:19:03 UTC (rev 14698)
@@ -1,12 +1,12 @@
{
-'checkout.due' :
- { 'context_org' : 'circ_lib',
- 'filter' :
- { 'checkin_time' : null,
- '-or' :
- [ { 'stop_fines' : ['MAXFINES', 'LONGOVERDUE'] },
- { 'stop_fines' : null }
+"checkout.due" :
+ { "context_org" : "circ_lib",
+ "filter" :
+ { "checkin_time" : null,
+ "-or" :
+ [ { "stop_fines" : ["MAXFINES", "LONGOVERDUE"] },
+ { "stop_fines" : null }
]
}
}
Modified: tags/rel_1_6_0_0/Open-ILS/src/support-scripts/action_trigger_runner.pl
===================================================================
--- tags/rel_1_6_0_0/Open-ILS/src/support-scripts/action_trigger_runner.pl 2009-10-30 13:18:50 UTC (rev 14697)
+++ tags/rel_1_6_0_0/Open-ILS/src/support-scripts/action_trigger_runner.pl 2009-10-30 13:19:03 UTC (rev 14698)
@@ -58,7 +58,7 @@
if ($opt_custom_filter) {
open FILTERS, $opt_custom_filter;
- $hook_handlers = OpenSRF::Utils::JSON->JSON2Perl(join('',(<FILTERS>)));
+ $hook_handlers = OpenSRF::Utils::JSON->JSON2perl(join('',(<FILTERS>)));
close FILTERS;
}
More information about the open-ils-commits
mailing list