clear shelf expire time and some other fields when un-cancelling a hold
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 3 Feb 2011 23:30:34 +0000 (23:30 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 3 Feb 2011 23:30:34 +0000 (23:30 +0000)
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

index c95bafe..7498f4b 100644 (file)
@@ -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;