From a8fcc2e1f7939252468fe6e6c3d882152c085fb1 Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 3 Feb 2011 23:30:34 +0000 Subject: [PATCH] clear shelf expire time and some other fields when un-cancelling a hold git-svn-id: svn://svn.open-ils.org/ILS/trunk@19375 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm index c95bafe6f2..7498f4b40e 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm +++ b/Open-ILS/src/perlmods/lib/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; -- 2.11.0