Bug 35294: Fix typos in catalogue code comments
Test plan: 1. git grep -n -E 'barocode|preproccess' to find the files and line # of typos 2. Apply the patch 3. git grep -E 'barocode|proccess' 4. See no results Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> (cherry picked from commite8ef0f9417
) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commit96097d8058
) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> Signed-off-by: wainuiwitikapark <wainuiwitikapark@catalyst.net.nz>
This commit is contained in:
parent
fc8c2ac8c1
commit
e471583547
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ if (defined $format and $format eq 'json') {
|
|||
my @f = $cgi->multi_param('f');
|
||||
my @q = $cgi->multi_param('q');
|
||||
|
||||
# If index indicates the value is a barcode, we need to preproccess it before searching
|
||||
# If index indicates the value is a barcode, we need to preprocess it before searching
|
||||
for ( my $i = 0; $i < @q; $i++ ) {
|
||||
$q[$i] = barcodedecode($q[$i]) if $f[$i] eq 'barcode';
|
||||
}
|
||||
|
|
|
@ -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 preprocess it before searching
|
||||
for ( my $i = 0; $i < @operands; $i++ ) {
|
||||
$operands[$i] = barcodedecode($operands[$i]) if (defined($indexes[$i]) && $indexes[$i] eq 'bc');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue