]> git.evergreen-ils.org Git - Evergreen.git/commit
Fix LP851000.
authorJason Stephenson <jstephenson@mvlc.org>
Thu, 17 Nov 2011 20:15:09 +0000 (15:15 -0500)
committerDan Wells <dbw2@calvin.edu>
Tue, 6 Dec 2011 14:47:55 +0000 (09:47 -0500)
commit5fd9350ab5ac9c2718bbd0d9aecabedc0f027857
tree2a2d00ee517fc1bfde45a190f15efffc0d6d8113
parent36978ac3dd74ffd44a73a290e6363ca6762af515
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>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm