From 773c20d2fd96c54d6555f91cf64e5cedc7d22b35 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 --- .../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 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; -- 2.43.2