Bugzilla – Attachment 72653 Details for
Bug 20369
Analytics search is broken with QueryAutoTruncate set to 'only if * is added'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20369: Analytics search is broken with QueryAutoTruncate set to 'only if * is added'
Bug-20369-Analytics-search-is-broken-with-QueryAut.patch (text/plain), 1.24 KB, created by
Kyle M Hall (khall)
on 2018-03-12 11:17:04 UTC
(
hide
)
Description:
Bug 20369: Analytics search is broken with QueryAutoTruncate set to 'only if * is added'
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2018-03-12 11:17:04 UTC
Size:
1.24 KB
patch
obsolete
>From 28d9b26c0a6456c5fac63d2c8f1e0d726eb526f7 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatetsolutions.com> >Date: Mon, 12 Mar 2018 07:15:12 -0400 >Subject: [PATCH] Bug 20369: Analytics search is broken with QueryAutoTruncate > set to 'only if * is added' > >Test Plan: >1) Enable EasyAnalytics >2) Disable QueryAutoTruncate >3) Create an analytic record, add some host items to it >4) Browser to the analytics tab for the record >5) Click the link in the 'used in' column of the table >6) No search results >7) Apply this patch >8) Reload the page, now you get the analytic record! >--- > C4/Search.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Search.pm b/C4/Search.pm >index c11a61e..f9aaabb 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -1573,7 +1573,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' ) { >+ elsif ( $index eq 'nb' || $index eq 'ns' || $index eq 'hi' ) { > ( > $stemming, $auto_truncation, > $weight_fields, $fuzzy_enabled >-- >2.10.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 20369
:
72653
|
72834
|
73414