X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=tools%2Fmanage-marc-import.pl;h=03f5bb98e306bf0485a6194ae4e28649f48d74d9;hb=28e5427c600a2cfcf20c294713eb625b4b967f3a;hp=cc22aeb9a43eb86013a199ddf6beed8d25893f39;hpb=0486d0c6b781fbda73df19eb825ef330bdc4544a;p=koha_fer diff --git a/tools/manage-marc-import.pl b/tools/manage-marc-import.pl index cc22aeb9a4..03f5bb98e3 100755 --- a/tools/manage-marc-import.pl +++ b/tools/manage-marc-import.pl @@ -34,7 +34,7 @@ use C4::Biblio; use C4::ImportBatch; use C4::Matcher; use C4::BackgroundJob; -use C4::Labels::Batch 1.000000; +use C4::Labels::Batch; use C4::Branch qw(get_branch_code_from_name); my $script_name = "/cgi-bin/koha/tools/manage-marc-import.pl"; @@ -218,7 +218,7 @@ sub import_batches_list { num_items => $batch->{'num_items'}, upload_timestamp => $batch->{'upload_timestamp'}, import_status => $batch->{'import_status'}, - file_name => $batch->{'file_name'}, + file_name => $batch->{'file_name'} || "($batch->{'batch_type'})", comments => $batch->{'comments'}, can_clean => ($batch->{'import_status'} ne 'cleaned') ? 1 : 0, };