Bug 21183: Fix ->get_column call context
I am not sure to understand what's going on here. Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
2b1b168ec4
commit
ec257ca25b
1 changed files with 2 additions and 1 deletions
|
@ -267,7 +267,8 @@ if ($op eq "show"){
|
|||
|
||||
my $existing_items = Koha::Items->search({ barcode => \@barcodelist });
|
||||
@itemnumbers = $existing_items->get_column('itemnumber');
|
||||
my %exists = map {$_=>1} @{$existing_items->get_column('barcode')};
|
||||
my @barcodes = $existing_items->get_column('barcode');
|
||||
my %exists = map {$_=>1} @barcodes;
|
||||
@notfoundbarcodes = grep { !$exists{$_} } @barcodelist;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue