[open-ils-commits] r14696 - in branches/rel_1_6/Open-ILS: examples src/support-scripts (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Oct 30 09:18:39 EDT 2009
Author: erickson
Date: 2009-10-30 09:18:37 -0400 (Fri, 30 Oct 2009)
New Revision: 14696
Modified:
branches/rel_1_6/Open-ILS/examples/action_trigger_filters.json.example
branches/rel_1_6/Open-ILS/src/support-scripts/action_trigger_runner.pl
Log:
repaired function name and JSON
Modified: branches/rel_1_6/Open-ILS/examples/action_trigger_filters.json.example
===================================================================
--- branches/rel_1_6/Open-ILS/examples/action_trigger_filters.json.example 2009-10-30 13:18:10 UTC (rev 14695)
+++ branches/rel_1_6/Open-ILS/examples/action_trigger_filters.json.example 2009-10-30 13:18:37 UTC (rev 14696)
@@ -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: branches/rel_1_6/Open-ILS/src/support-scripts/action_trigger_runner.pl
===================================================================
--- branches/rel_1_6/Open-ILS/src/support-scripts/action_trigger_runner.pl 2009-10-30 13:18:10 UTC (rev 14695)
+++ branches/rel_1_6/Open-ILS/src/support-scripts/action_trigger_runner.pl 2009-10-30 13:18:37 UTC (rev 14696)
@@ -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