LP#1771422 Reset transiting hold copy status fix user/gcollum/lp1771422-reset-transit-hold-copy-status-signoff
authorBill Erickson <berickxx@gmail.com>
Tue, 15 May 2018 20:12:12 +0000 (16:12 -0400)
committerGarry Collum <gcollum@gmail.com>
Fri, 25 May 2018 12:32:34 +0000 (08:32 -0400)
commit60bbe98dd20f4cf0ff705bd01cf3272114530ce7
treedcdf95ac8c9a35cc40b2828b056c57618fc98861
parent23719d94411c4d59357ecd37bbc9a8c79a7e5c5c
LP#1771422 Reset transiting hold copy status fix

Avoid modifying the copy status in the hold-reset API when it's passing
the copy off to the transit API for canceling the transit.  Let the
transit API handle the status instead.

This fixes a bug where resetting a transiting hold, and canceling its
transit, would leave the targeted copy in "in transit" status instead of
"canceled transit".

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm