]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1771422 Reset transiting hold copy status fix
authorBill Erickson <berickxx@gmail.com>
Tue, 15 May 2018 20:12:12 +0000 (16:12 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 25 May 2018 19:53:44 +0000 (15:53 -0400)
commit343b83a54ab4a7249739d229faa3216895a5169a
tree32952725bcbf9f3b5f178bd8840e99fa4896db78
parent1e9133abb880a698f5234389268dcf18cce356bc
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>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm