Bugzilla – Attachment 167498 Details for
Bug 35294
Typo in comment in C4 circulation: barocode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35294: fix typo in catalogue/search.pl
Bug-35294-fix-typo-in-cataloguesearchpl.patch (text/plain), 1.17 KB, created by
Brendan Lawlor
on 2024-06-05 20:43:15 UTC
(
hide
)
Description:
Bug 35294: fix typo in catalogue/search.pl
Filename:
MIME Type:
Creator:
Brendan Lawlor
Created:
2024-06-05 20:43:15 UTC
Size:
1.17 KB
patch
obsolete
>From 21874061d486aa511762afa084234a15e616931c Mon Sep 17 00:00:00 2001 >From: Brendan Lawlor <blawlor@clamsnet.org> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35294
:
167498
|
167504
|
167541
|
167547
|
167556