]> git.evergreen-ils.org Git - working/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:50:52 +0000 (15:50 -0400)
commit3f762988042021aaa31a646759055f226d58e777
tree092969082de03c355b863062e283f7022655fb33
parentf265176d550758f6a6c564709b97114d9758c44f
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