From: erickson Date: Thu, 3 Feb 2011 23:31:55 +0000 (+0000) Subject: clear shelf expire time and some other fields when un-cancelling a hold X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=99edf86da5da4a7439ba51afb84953c163c7efdf;p=working%2FEvergreen.git clear shelf expire time and some other fields when un-cancelling a hold git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19376 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm index 5d94b169ae..caaf688086 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm @@ -566,6 +566,12 @@ sub uncancel_hold { $hold->clear_cancel_time; $hold->clear_cancel_cause; $hold->clear_cancel_note; + $hold->clear_shelf_time; + $hold->clear_current_copy; + $hold->clear_capture_time; + $hold->clear_prev_check_time; + $hold->clear_shelf_expire_time; + $e->update_action_hold_request($hold) or return $e->die_event; $e->commit;