diff --git a/tools/batchMod.pl b/tools/batchMod.pl index dc246a96e7..9791943127 100755 --- a/tools/batchMod.pl +++ b/tools/batchMod.pl @@ -336,9 +336,8 @@ foreach my $tag (sort keys %{$tagslib}) { next if IsMarcStructureInternal( $tagslib->{$tag}{$subfield} ); next if (not $allowAllSubfields and $restrictededition && !grep { $tag . '$' . $subfield eq $_ } @subfieldsToAllow ); next if ($tagslib->{$tag}->{$subfield}->{'tab'} ne "10"); - # barcode and stocknumber are not meant to be batch-modified - next if $tagslib->{$tag}->{$subfield}->{'kohafield'} eq 'items.barcode'; - next if $tagslib->{$tag}->{$subfield}->{'kohafield'} eq 'items.stocknumber'; + # barcode is not meant to be batch-modified + next if $tagslib->{$tag}->{$subfield}->{'kohafield'} eq 'items.barcode'; my %subfield_data; my $index_subfield = int(rand(1000000));