From 7fc48c4328a53a40b45449536c8eb24153ebcf67 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. Test plan: 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 2. Apply the patch. 3. git grep barocode 4. See no results. Signed-off-by: David Nind --- 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