[open-ils-commits] r10922 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Oct 27 10:23:14 EDT 2008


Author: erickson
Date: 2008-10-27 10:23:02 -0400 (Mon, 27 Oct 2008)
New Revision: 10922

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
Log:
returning copy location info on hold delay event

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm	2008-10-27 14:22:45 UTC (rev 10921)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm	2008-10-27 14:23:02 UTC (rev 10922)
@@ -1926,7 +1926,8 @@
         # 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;
         }
     }



More information about the open-ils-commits mailing list