Adds create event to Vandelay.pm. user/tlittle/lp1780458_vandelayemailnotice
authorTiffany Little <tlittle@georgialibraries.org>
Tue, 22 Oct 2019 18:51:59 +0000 (14:51 -0400)
committerTiffany Little <tlittle@georgialibraries.org>
Tue, 22 Oct 2019 18:51:59 +0000 (14:51 -0400)
Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm

index f34c8ae..cf5c70b 100644 (file)
@@ -1373,6 +1373,17 @@ sub import_record_list_impl {
 
     $conn->respond({total => $$report_args{total}, progress => $$report_args{progress}});
     return undef;
+    
+    for my $rec (@$rec_list) {
+                $U->create_events_for_hook(
+                    'vandelay.session_tracker'.$type.'complete',
+                    $rec,
+                    $e->requestor->home_ou,
+                    undef,
+                    undef,
+                    1
+                );
+            }
 }