returning copy location info on hold delay event
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 27 Oct 2008 14:22:45 +0000 (14:22 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 27 Oct 2008 14:22:45 +0000 (14:22 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4@10921 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index e5522c2..1a7aa39 100644 (file)
@@ -1926,7 +1926,8 @@ sub attempt_checkin_hold_capture {
         # see if this item is in a hold-capture-delay location
         my $location = $self->editor->retrieve_asset_copy_location($self->copy->location);
         if($U->is_true($location->hold_verify)) {
-            $self->bail_on_events(OpenILS::Event->new('HOLD_CAPTURE_DELAYED'));
+            $self->bail_on_events(
+                OpenILS::Event->new('HOLD_CAPTURE_DELAYED', copy_location => $location));
             return 1;
         }
     }