https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22288
--- Comment #3 from Federico Paiz <[email protected]> --- the code is fine? /usr/share/koha/intranet/cgi-bin/tools/batchMod.pl @contentlist = uniq @contentlist; if ($filecontent eq 'barcode_file') { my $existing_items = Koha::Items->search({ itemnumber =>\@contentlist }); @itemnumbers = $existing_items->get_column('itemnumber'); my %exists = map {$_=>1}@{$existing_items->get_column('barcode')}; @notfoundbarcodes = grep { !$exists{$_} } @contentlist; } -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
