From 21874061d486aa511762afa084234a15e616931c Mon Sep 17 00:00:00 2001 From: Brendan Lawlor Date: Wed, 5 Jun 2024 20:32:06 +0000 Subject: [PATCH] Bug 35294: fix typo in catalogue/search.pl This patch fixes a typo in a comment To recreate: 1. git grep barocode to find the file and line # of the typo catalogue/search.pl:462:# If index indicates the value is a barocode To Test: 1. Apply patch 2. git grep barocode 3. See no results --- catalogue/search.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalogue/search.pl b/catalogue/search.pl index 6430c6ab91..07360b744f 100755 --- a/catalogue/search.pl +++ b/catalogue/search.pl @@ -459,7 +459,7 @@ my $builder = Koha::SearchEngine::QueryBuilder->new( my $searcher = Koha::SearchEngine::Search->new( { index => $Koha::SearchEngine::BIBLIOS_INDEX } ); -# If index indicates the value is a barocode, we need to preproccess it before searching +# If index indicates the value is a barcode, we need to preproccess it before searching for ( my $i = 0; $i < @operands; $i++ ) { $operands[$i] = barcodedecode($operands[$i]) if (defined($indexes[$i]) && $indexes[$i] eq 'bc'); } -- 2.39.2