From: Chris Sharp Date: Thu, 17 May 2012 20:06:44 +0000 (-0400) Subject: adding a hyperlink to the item status interface to allow retrieval of hold patron X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=cb756a8594a269235f14e940ba897bf803f6602e;p=evergreen%2Fpines.git adding a hyperlink to the item status interface to allow retrieval of hold patron --- 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);