From 78d6a87edb62fea501676432f5a2ca65f176fbe4 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 29 Dec 2014 17:05:39 -0500 Subject: [PATCH] LP#1406367 Fine generator skips no-fines transactions (parallel) Avoid inspecting no-fines transactions when running the fine generator in parallel mode. Signed-off-by: Bill Erickson Signed-off-by: Jason Stephenson --- .../lib/OpenILS/Application/Storage/Publisher/action.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm index 56ad4a84f4..b619711e0d 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm @@ -311,7 +311,8 @@ sub grab_overdue { my $idlist = $self->api_name =~/id_list/o ? 1 : 0; - $client->respond( $idlist ? $_ : $_->to_fieldmapper ) for ( overdue_circs('', $idlist) ); + $client->respond( $idlist ? $_ : $_->to_fieldmapper ) + for ( overdue_circs('', $idlist, undef, 1) ); return undef; @@ -324,7 +325,8 @@ __PACKAGE__->register_method( signature => q/ Return list of overdue circulations and reservations to be used for fine generation. Despite the name, this is not a generic method for retrieving all overdue loans, - as it excludes loans that have already hit the maximum fine limit. + as it excludes loans that have already hit the maximum fine limit + and transactions which do not accrue fines. /, ); __PACKAGE__->register_method( -- 2.43.2