From: Galen Charlton Date: Thu, 31 Oct 2013 22:10:31 +0000 (+0000) Subject: Bug 8015: (follow-up) update stage_file.pl X-Git-Url: http://git.rot13.org/?p=koha.git;a=commitdiff_plain;h=7a1c343c91e2e4db55cb0d166c304b5757c87444;hp=7ad9e8a42684cd6602652aa53d75c0e3a221ff19 Bug 8015: (follow-up) update stage_file.pl This patch fixes the call to BatchStageMarcRecords() made by the comand-line record importer. At some point in the future we could go further and teach that tool how to apply modification templates. Signed-off-by: Galen Charlton --- diff --git a/misc/stage_file.pl b/misc/stage_file.pl index 3a8615e9df..2e15466758 100755 --- a/misc/stage_file.pl +++ b/misc/stage_file.pl @@ -101,7 +101,7 @@ sub process_batch { print "... staging MARC records -- please wait\n"; my ($batch_id, $num_valid_records, $num_items, @import_errors) = - BatchStageMarcRecords($record_type, $encoding, $marc_records, $input_file, $batch_comment, '', $add_items, 0, + BatchStageMarcRecords($record_type, $encoding, $marc_records, $input_file, undef, $batch_comment, '', $add_items, 0, 100, \&print_progress_and_commit); print "... finished staging MARC records\n";