From fa19decaa84fc68d9acd37ebc0f9311265dcabaa Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Sun, 2 Feb 2014 15:59:34 -0500 Subject: [PATCH] LP#638509: Remove the stop_fines checks from do_renew's circulation search. Signed-off-by: Jason Stephenson Signed-off-by: Kathy Lussier Signed-off-by: Ben Shum --- Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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 7e38228c62..3bb329d8a2 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm @@ -3771,18 +3771,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; -- 2.11.0