LP1915440 Clear Hopeless Date on Capture
authorBill Erickson <berickxx@gmail.com>
Mon, 8 Aug 2022 18:04:55 +0000 (14:04 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Wed, 16 Nov 2022 16:44:37 +0000 (11:44 -0500)
commitdb7cbf0bbb53060b3fb5a23639c1b1618e3844ea
tree0a6227ad9b081952436c8c89bfecccba89020029
parent5bcc8ac9f06f58bc7cdd2db0a35f5fd01ac97dea
LP1915440 Clear Hopeless Date on Capture

Clear the hold hopeless date when a copy is captured for the hold.

One way to make this happen for testing:

. Configure the Missing copy status as holdable=true hopeless_prone=true
. Place hold with only 1 viable copy.
. Mark said copy as missing -- this stamps a hopeless_date on the hold.
. Check the copy in.  This results in a capture + hopeless hold.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Susan Morrison <smorrison@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm