LP1915440 Clear Hopeless Date on Capture user/berick/lp1915440-clear-hopeless-date-on-capture
authorBill Erickson <berickxx@gmail.com>
Mon, 8 Aug 2022 18:04:55 +0000 (14:04 -0400)
committerBill Erickson <berickxx@gmail.com>
Mon, 8 Aug 2022 18:04:57 +0000 (14:04 -0400)
commit75c335d2ec0dcd014a0d38a19e88005de44c8e9d
tree2f659027af1c797c10879073b2376ce3982f0bcc
parentabf033c19050af93973a2d204378918cc6253749
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm