Bugzilla – Attachment 112832 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), 906 bytes, created by
Nick Clemens
on 2020-11-02 13:44:38 UTC
(
hide
)
Description:
Bug 24567: (follow-up) Use dollar sign to refer to captures
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2020-11-02 13:44:38 UTC
Size:
906 bytes
patch
obsolete
>From 1c72d442eb8a1b386d0a06469e5e703b28118eb7 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 > >--- > 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