Bugzilla – Attachment 112904 Details for
Bug 24567
Elasticsearch: CCL syntax does not allow for multiple indexes to be searched at once
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24567: (follow-up) Use dollar sign to refer to captures
Bug-24567-follow-up-Use-dollar-sign-to-refer-to-ca.patch (text/plain), 1.03 KB, created by
Joonas Kylmälä
on 2020-11-03 09:54:47 UTC
(
hide
)
Description:
Bug 24567: (follow-up) Use dollar sign to refer to captures
Filename:
MIME Type:
Creator:
Joonas Kylmälä
Created:
2020-11-03 09:54:47 UTC
Size:
1.03 KB
patch
obsolete
>From 40d97237ee25b3d737ab90990dcd6a1d920d5768 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 2 Nov 2020 13:39:09 +0000 >Subject: [PATCH] Bug 24567: (follow-up) Use dollar sign to refer to captures >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi> >--- > Koha/SearchEngine/Elasticsearch/QueryBuilder.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm b/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm >index a0d8d65df4..39cf1d22a7 100644 >--- a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm >+++ b/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm >@@ -940,7 +940,7 @@ sub _clean_search_term { > } > > # Remove unquoted colons that have whitespace on either side of them >- $term =~ s/((:+)(\s+)|(\s+)(:+))$lookahead/\3\4/g; >+ $term =~ s/((:+)(\s+)|(\s+)(:+))$lookahead/$3$4/g; > > $term = $self->_query_regex_escape_process($term); > >-- >2.11.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 24567
:
112562
|
112564
|
112832
|
112903
| 112904 |
112906