View | Details | Raw Unified | Return to bug 33755
Collapse All | Expand All

(-)a/Koha/BackgroundJob/StageMARCForImport.pm (+1 lines)
Lines 21-26 use Try::Tiny; Link Here
21
use base 'Koha::BackgroundJob';
21
use base 'Koha::BackgroundJob';
22
22
23
use Koha::Database;
23
use Koha::Database;
24
use Koha::ImportBatches;
24
use C4::Matcher;
25
use C4::Matcher;
25
use C4::ImportBatch qw(
26
use C4::ImportBatch qw(
26
    RecordsFromMARCXMLFile
27
    RecordsFromMARCXMLFile
(-)a/tools/stage-marc-import.pl (-1 / +1 lines)
Lines 95-100 if ($fileID) { Link Here
95
        item_action                => $item_action,
95
        item_action                => $item_action,
96
        basket_id                  => $basketno,
96
        basket_id                  => $basketno,
97
        vendor_id                  => $booksellerid,
97
        vendor_id                  => $booksellerid,
98
        profile_id                 => $profile_id,
98
    };
99
    };
99
    try {
100
    try {
100
        my $job_id = Koha::BackgroundJob::StageMARCForImport->new->enqueue( $params );
101
        my $job_id = Koha::BackgroundJob::StageMARCForImport->new->enqueue( $params );
101
- 

Return to bug 33755