my $circ_counts =
OpenILS::Application::Actor::_checked_out(1, $e, $patron->id);
- $ctx->{patronOverdue} = $circ_counts->{overdue} || 0;
+ $ctx->{patronOverdue} = $circ_counts->{overdue} + $circ_counts->{long_overdue};
my $out = $ctx->{patronOverdue} + $circ_counts->{out};
$ctx->{patronItemsOut} = $out
'+circ' => {
checkin_time => undef,
'-or' => [
- {stop_fines => {'not in' => ["LOST","LONGOVERDUE","CLAIMSRETURNED"]}},
+ {stop_fines => ["MAXFINES","LONGOVERDUE"]},
{stop_fines => undef}
],
due_date => {between => [$start_date, $end_date]}