Bugzilla – Attachment 93397 Details for
Bug 22426
Elasticsearch - Index location is missing in advanced search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22426: Elasticsearch - Index location is missing in advanced search
Bug-22426-Elasticsearch---Index-location-is-missin.patch (text/plain), 1.08 KB, created by
Biblibre Sandboxes
on 2019-10-02 08:01:44 UTC
(
hide
)
Description:
Bug 22426: Elasticsearch - Index location is missing in advanced search
Filename:
MIME Type:
Creator:
Biblibre Sandboxes
Created:
2019-10-02 08:01:44 UTC
Size:
1.08 KB
patch
obsolete
>From 13684a904ccb030941a525837c09a6b2552f05dd Mon Sep 17 00:00:00 2001 >From: Bouzid Fergani <bouzid.fergani@inlibro.com> >Date: Mon, 6 May 2019 13:36:44 -0400 >Subject: [PATCH] Bug 22426: Elasticsearch - Index location is missing in > advanced search >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> >--- > Koha/SearchEngine/Elasticsearch/QueryBuilder.pm | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm b/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm >index ce59ff0..78de045 100644 >--- a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm >+++ b/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm >@@ -883,6 +883,10 @@ sub _fix_limit_special_cases { > elsif ( $l =~ /^available$/ ) { > push @new_lim, 'onloan:0'; > } >+ elsif ( $l =~ /^mc-loc/ ) { >+ my ($location) = ($l =~ /^mc-loc:(.*)$/ ); >+ push @new_lim, "location:$location"; >+ } > else { > push @new_lim, $l; > } >-- >2.7.4
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 22426
:
89378
|
90670
|
93397
|
93398
|
97223
|
97224