Bug 11936: (QA follow-up) Consistent log message for item insert
authorJulian Maurice <julian.maurice@biblibre.com>
Mon, 12 Mar 2018 10:51:59 +0000 (11:51 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 19 Mar 2018 16:55:54 +0000 (13:55 -0300)
Fix the same error in another place

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

misc/migration_tools/bulkmarcimport.pl

index 85cec5c..7a5a581 100755 (executable)
@@ -493,7 +493,7 @@ RECORD: while (  ) {
                 next RECORD;
             }
                        else{
-                               printlog({id=>$id||$originalid||$biblionumber, op=>"insert",status=>"ok"}) if ($logfile);
+                               printlog({id=>$id||$originalid||$biblionumber, op=>"insertitem",status=>"ok"}) if ($logfile);
                        }
             if ($dedup_barcode && grep { exists $_->{error_code} && $_->{error_code} eq 'duplicate_barcode' } @$errors_ref) {
                 # Find the record called 'barcode'