LP 1169193 Bypass longoverdue w/ default A/T runner
authorBill Erickson <berick@esilibrary.com>
Fri, 26 Apr 2013 16:59:33 +0000 (12:59 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Fri, 9 Aug 2013 19:58:19 +0000 (15:58 -0400)
Avoid processing LONGOVERDUE circulations in the default
action_trigger_runner.pl filter.

When no custom filters are used, the script will provide it's own
default filter for circulation-based hooks.  This change ensure that
when the default filter is in use, the script will not attempt to
process longoverdue circulations, since they have already been processed
(which is how they became longoverdue in the first place).

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/support-scripts/action_trigger_runner.pl

index 0225518..9e219f0 100755 (executable)
@@ -72,7 +72,7 @@ my $hook_handlers = {
         filter => {
             checkin_time => undef, 
             '-or' => [
-                {stop_fines => ['MAXFINES', 'LONGOVERDUE']}, 
+                {stop_fines => ['MAXFINES']}, 
                 {stop_fines => undef}
             ]
         }