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:31:55 +0000 (23:31 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 3 Feb 2011 23:31:55 +0000 (23:31 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19376 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm

index 5d94b16..caaf688 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;