]> git.evergreen-ils.org Git - contrib/Conifer.git/commit
LP 1306666: Abort Transit Only Change Copy Status if In Transit
authorJason Stephenson <jstephenson@mvlcstaff.org>
Fri, 18 Mar 2016 20:38:33 +0000 (16:38 -0400)
committerMike Rylander <mrylander@gmail.com>
Wed, 24 Aug 2016 12:17:48 +0000 (08:17 -0400)
commit22cf9bb24ef8a81660998617c1126891c14a2c84
tree2b6091644b5582f801fdc767fc7b08e372b9ca27
parent46b9c4f0bf66df57da7e45e0606d1ac1d6a26ada
LP 1306666: Abort Transit Only Change Copy Status if In Transit

When aborting a transit, the copy status is presently changed, either
to the status stored in action.transit_copy or to Reshelving if the
transit was for a hold.  This causes problems with "hanging" transits
where something was not handled properly before.  We've had cases
where a transit sticks around on a copy that is later checked out, and
while that copy is checked out, the transit is aborted, thus setting
the copy status to Reshelving when it should be Checked Out.

The code change in this branch only changes the copy's status if it is
In Transit.  A copy in any other status has its status left untouched.

Signed-off-by: Jason Stephenson <jstephenson@mvlcstaff.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Transit.pm