Fix LP851000.
authorJason Stephenson <jstephenson@mvlc.org>
Thu, 17 Nov 2011 20:15:09 +0000 (15:15 -0500)
committerJason Stephenson <jstephenson@mvlc.org>
Thu, 17 Nov 2011 22:18:12 +0000 (17:18 -0500)
commite9411a0f9c8811cf7281b37badd6e2c1b07aba2e
treed66a0e102c3cc5bc9335983393b6938b2f7805c8
parent93c98586b1a4e7fa93c92b852e9491bf3ef12327
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/OpenILS/Application/Circ/Circulate.pm