Bugzilla – Attachment 109186 Details for
Bug 24143
buildQuery should disable Query* on identifier search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24143: Disable QueryXXX when searching on an authority number
Bug-24143-Disable-QueryXXX-when-searching-on-an-au.patch (text/plain), 1.22 KB, created by
Fridolin Somers
on 2020-08-26 15:01:58 UTC
(
hide
)
Description:
Bug 24143: Disable QueryXXX when searching on an authority number
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2020-08-26 15:01:58 UTC
Size:
1.22 KB
patch
obsolete
>From 62eb4b6b74821fbca3bb300cd9dd7876e681b658 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Wed, 26 Aug 2020 16:58:29 +0200 >Subject: [PATCH] Bug 24143: Disable QueryXXX when searching on an authority > number > >Using the ident or identifier-standard index should not involve >any of the following features: > > - QueryAutoTruncate > - QueryFuzzy > - QueryStemming > - QueryWeightFields > >This is used in autorities search table to display use count. >--- > C4/Search.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Search.pm b/C4/Search.pm >index 64cf03a0f5..f09923a9be 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -1398,7 +1398,7 @@ sub buildQuery { > $stemming = $auto_truncation = $weight_fields = $fuzzy_enabled = 0; > } > # ISBN,ISSN,Standard Number, don't need special treatment >- elsif ( $index eq 'nb' || $index eq 'ns' || $index eq 'hi' || $index eq 'sn' ) { >+ elsif ( $index eq 'nb' || $index eq 'ns' || $index eq 'hi' || $index eq 'sn' || $index eq 'an' ) { > ( > $stemming, $auto_truncation, > $weight_fields, $fuzzy_enabled >-- >2.27.0
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 24143
:
95927
|
97311
|
97323
|
109185
| 109186