From: Jason Stephenson Date: Sun, 2 Feb 2014 20:59:34 +0000 (-0500) Subject: LP638509 - Remove the stop_fines checks from do_renew's circulation search. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5fb29928495272ed90fe176d650beb0f10daa9e9;p=working%2FEvergreen.git LP638509 - Remove the stop_fines checks from do_renew's circulation search. Signed-off-by: Jason Stephenson Signed-off-by: Kathy Lussier --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm index 70c4a64d51..b3281c900c 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm @@ -3800,18 +3800,13 @@ sub do_renew { my $self = shift; $self->log_me("do_renew()"); - # Make sure there is an open circ to renew that is not - # marked as LOST, CLAIMSRETURNED, or LONGOVERDUE + # Make sure there is an open circ to renew my $usrid = $self->patron->id if $self->patron; my $circ = $self->editor->search_action_circulation({ target_copy => $self->copy->id, xact_finish => undef, checkin_time => undef, - ($usrid ? (usr => $usrid) : ()), - '-or' => [ - {stop_fines => undef}, - {stop_fines => OILS_STOP_FINES_MAX_FINES} - ] + ($usrid ? (usr => $usrid) : ()) })->[0]; return $self->bail_on_events($self->editor->event) unless $circ;