Lines 459-465
my $builder = Koha::SearchEngine::QueryBuilder->new(
Link Here
|
459 |
my $searcher = Koha::SearchEngine::Search->new( |
459 |
my $searcher = Koha::SearchEngine::Search->new( |
460 |
{ index => $Koha::SearchEngine::BIBLIOS_INDEX } ); |
460 |
{ index => $Koha::SearchEngine::BIBLIOS_INDEX } ); |
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 barcode, 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 (defined($indexes[$i]) && $indexes[$i] eq 'bc'); |
464 |
$operands[$i] = barcodedecode($operands[$i]) if (defined($indexes[$i]) && $indexes[$i] eq 'bc'); |
465 |
} |
465 |
} |
466 |
- |
|
|