my $circs = $e->search_action_circulation(
{ usr => $userid, stop_fines => undef });
+ my $mcircs = $e->search_action_circulation(
+ {
+ usr => $userid,
+ checkin_time => undef,
+ xact_finish => undef,
+ stop_fines => OILS_STOP_FINES_MAX_FINES
+ });
+
+
+ push( @$circs, @$mcircs );
+
my $parser = DateTime::Format::ISO8601->new;
# split the circs up into overdue and not-overdue circs
econst OILS_STOP_FINES_LOST => 'LOST';
econst OILS_STOP_FINES_CLAIMSRETURNED => 'CLAIMSRETURNED';
econst OILS_STOP_FINES_LONGOVERDUE => 'LONGOVERDUE';
+econst OILS_STOP_FINES_MAX_FINES => 'MAXFINES';
econst OILS_UNLIMITED_CIRC_DURATION => 'unlimited';
# ---------------------------------------------------------------------