LP#1771422 Reset transiting hold copy status fix user/berick/lp1771422-reset-transit-hold-copy-status
authorBill Erickson <berickxx@gmail.com>
Tue, 15 May 2018 20:12:12 +0000 (16:12 -0400)
committerBill Erickson <berickxx@gmail.com>
Tue, 15 May 2018 20:12:14 +0000 (16:12 -0400)
commitc28191a7a28972c270f603e5f7226426473fe211
treea3ca38f34fc365ae965686e6d16d6a568d543053
parent6d5e44f845364e104f8460385864861d6689cc5a
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm