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

(-)a/catalogue/search.pl (-2 / +1 lines)
Lines 461-467 my $searcher = Koha::SearchEngine::Search->new( Link Here
461
461
462
# If index indicates the value is a barocode, we need to preproccess it before searching
462
# If index indicates the value is a barocode, we need to preproccess it before searching
463
for ( my $i = 0; $i < @operands; $i++ ) {
463
for ( my $i = 0; $i < @operands; $i++ ) {
464
    $operands[$i] = barcodedecode($operands[$i]) if $indexes[$i] eq 'bc';
464
    $operands[$i] = barcodedecode($operands[$i]) if (defined($indexes[$i]) && $indexes[$i] eq 'bc');
465
}
465
}
466
466
467
## I. BUILD THE QUERY
467
## I. BUILD THE QUERY
468
- 

Return to bug 33896