From cb756a8594a269235f14e940ba897bf803f6602e Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Thu, 17 May 2012 16:06:44 -0400 Subject: [PATCH] adding a hyperlink to the item status interface to allow retrieval of hold patron --- .../perlmods/lib/OpenILS/Application/Circ/Circulate.pm | 16 +--------------- 1 file changed, 1 insertion(+), 15 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 3bd0638be6..22aa22c448 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm @@ -3040,21 +3040,7 @@ sub checkin_handle_circ { $self->copy->circ_lib->id : $self->copy->circ_lib; my $stat = $U->copy_status($self->copy->status)->id; - # immediately available keeps items lost or missing items from going home before being handled - my $lost_immediately_available = $U->ou_ancestor_setting_value( - $circ_lib, OILS_SETTING_LOST_IMMEDIATELY_AVAILABLE, $self->editor) || 0; - - - if ( (!$lost_immediately_available) && ($circ_lib != $self->circ_lib) ) { - - if( ($stat == OILS_COPY_STATUS_LOST or $stat == OILS_COPY_STATUS_MISSING) ) { - $logger->info("circulator: not updating copy status on checkin because copy is lost/missing"); - } else { - $self->copy->status($U->copy_status(OILS_COPY_STATUS_RESHELVING)); - $self->update_copy; - } - - } elsif ($stat == OILS_COPY_STATUS_LOST) { + if ($stat == OILS_COPY_STATUS_LOST) { $self->checkin_handle_lost($circ_lib); -- 2.11.0