Fix LP851000.
authorJason Stephenson <jstephenson@mvlc.org>
Thu, 17 Nov 2011 20:15:09 +0000 (15:15 -0500)
committerJason Stephenson <jstephenson@mvlc.org>
Tue, 29 Nov 2011 14:11:06 +0000 (09:11 -0500)
commitba26c4d181d48928b9835277b5c7734739ba18b6
tree55b5eda465e28933e814ce4747c52b992061cd69
parentc1202c1492a210ea51610a164d938faef4a4d28c
Fix LP851000.

Remove about 14 lines from OpenILS/Application/Circ/Circulate.pm
in the checkin_handle_circ subroutine that check whether or not
the checkin happens at the copy's circ_lib and the value of the
circ.lost_immediately_available org unit setting.

This change causes the handle_lost subroutine to run regardless of
where the checkin takes place for a more consistent experience.

Whether or not billings are voided, overdues restored, etc. is still
determined by the copy's circ_lib.

Given how the hold targeter and transit code works, it does not appear
the the circ.lost_immediately_available setting could ever do what it
was intended to do. Given these changes to the code it is now unnecessary.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm