Bugzilla – Attachment 134866 Details for
Bug 29418
Error searching for analytics in detail view
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29418: Screen ending colons from search term
Bug-29418-Screen-ending-colons-from-search-term.patch (text/plain), 782 bytes, created by
Martin Renvoize (ashimema)
on 2022-05-11 11:16:01 UTC
(
hide
)
Description:
Bug 29418: Screen ending colons from search term
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-05-11 11:16:01 UTC
Size:
782 bytes
patch
obsolete
>From dd93ad4e6e373b506493b12fdb17f93d09342dad Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 4 Nov 2021 18:08:35 +0000 >Subject: [PATCH] Bug 29418: Screen ending colons from search term > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/SearchEngine/Zebra/QueryBuilder.pm | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/Koha/SearchEngine/Zebra/QueryBuilder.pm b/Koha/SearchEngine/Zebra/QueryBuilder.pm >index b0011d09a9..0d0fe2ff5e 100644 >--- a/Koha/SearchEngine/Zebra/QueryBuilder.pm >+++ b/Koha/SearchEngine/Zebra/QueryBuilder.pm >@@ -127,6 +127,8 @@ sub build_authorities_query_compat { > sub clean_search_term { > my ( $self, $term ) = @_; > >+ $term =~ s/([\s\\]*:\s*)+$//; >+ > return $term; > } > >-- >2.20.1
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 29418
:
127325
|
127326
|
134865
|
134866
|
137023
|
137048
|
137135
|
137136
|
137137
|
137138
|
137139
|
137140
|
137142
|
137171
|
137172
|
137173
|
137174