View | Details | Raw Unified | Return to bug 38452
Collapse All | Expand All

(-)a/tools/inventory.pl (-2 / +1 lines)
Lines 218-224 if ( $op eq 'cud-inventory' Link Here
218
    my @items = Koha::Items->search( { barcode => { -in => \@barcodes } } )->as_list;
218
    my @items = Koha::Items->search( { barcode => { -in => \@barcodes } } )->as_list;
219
    my %items = map { $_->barcode => $_ } @items;
219
    my %items = map { $_->barcode => $_ } @items;
220
    foreach my $barcode (@barcodes) {
220
    foreach my $barcode (@barcodes) {
221
        my $item = $items{ $barcode };
221
        my $item = $items{ lc($barcode) };
222
        if ( $item ) {
222
        if ( $item ) {
223
            if ( $item->withdrawn ) {
223
            if ( $item->withdrawn ) {
224
                push @errorloop, { 'barcode' => $barcode, 'ERR_WTHDRAWN' => 1 };
224
                push @errorloop, { 'barcode' => $barcode, 'ERR_WTHDRAWN' => 1 };
225
- 

Return to bug 38452