|
Lines 266-272
if ($op eq "show"){
Link Here
|
| 266 |
|
266 |
|
| 267 |
my $existing_items = Koha::Items->search({ barcode => \@barcodelist }); |
267 |
my $existing_items = Koha::Items->search({ barcode => \@barcodelist }); |
| 268 |
@itemnumbers = $existing_items->get_column('itemnumber'); |
268 |
@itemnumbers = $existing_items->get_column('itemnumber'); |
| 269 |
my %exists = map {$_=>1} @{$existing_items->get_column('barcode')}; |
269 |
my @barcodes = $existing_items->get_column('barcode'); |
|
|
270 |
my %exists = map {$_=>1} @barcodes; |
| 270 |
@notfoundbarcodes = grep { !$exists{$_} } @barcodelist; |
271 |
@notfoundbarcodes = grep { !$exists{$_} } @barcodelist; |
| 271 |
} |
272 |
} |
| 272 |
} |
273 |
} |
| 273 |
- |
|
|