LP#1939730 - Use original call number owning_lib when reverting items
When removing items with edited call numbers from a course, find or
create the resulting call number using the original call number's
owning_lib rather than the course owner.
Signed-off-by: Michele Morgan <email address hidden>
Signed-off-by: Terran McCanna <email address hidden>
Signed-off-by: Jane Sandberg <email address hidden>
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 <email address hidden>
Signed-off-by: Susan Morrison <email address hidden>
Signed-off-by: Galen Charlton <email address hidden>