@@ -, +, @@ --- Koha/BackgroundJob/StageMARCForImport.pm | 1 + tools/stage-marc-import.pl | 1 + 2 files changed, 2 insertions(+) --- a/Koha/BackgroundJob/StageMARCForImport.pm +++ a/Koha/BackgroundJob/StageMARCForImport.pm @@ -21,6 +21,7 @@ use Try::Tiny; use base 'Koha::BackgroundJob'; use Koha::Database; +use Koha::ImportBatches; use C4::Matcher; use C4::ImportBatch qw( RecordsFromMARCXMLFile --- a/tools/stage-marc-import.pl +++ a/tools/stage-marc-import.pl @@ -95,6 +95,7 @@ if ($fileID) { item_action => $item_action, basket_id => $basketno, vendor_id => $booksellerid, + profile_id => $profile_id, }; try { my $job_id = Koha::BackgroundJob::StageMARCForImport->new->enqueue( $params ); --