Bugzilla – Attachment 93398 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: (alternate) Elasticsearch fix location limit in advanced search
Bug-22426-alternate-Elasticsearch-fix-location-lim.patch (text/plain), 1.65 KB, created by
Biblibre Sandboxes
on 2019-10-02 08:01:48 UTC
(
hide
)
Description:
Bug 22426: (alternate) Elasticsearch fix location limit in advanced search
Filename:
MIME Type:
Creator:
Biblibre Sandboxes
Created:
2019-10-02 08:01:48 UTC
Size:
1.65 KB
patch
obsolete
>From 56244b4fdc893fa2bf3eb10831fececc40c9b153 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Mon, 17 Jun 2019 16:09:38 +0200 >Subject: [PATCH] Bug 22426: (alternate) Elasticsearch fix location limit in > advanced search >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >A search made on Shelving location tab in advanced search gives 0 result. > >Test plan : >Without patch: > - in advanced search, choose a location in shelving location tab and start search (opac-search.pl?idx=kw&op=and&idx=kw&op=and&idx=kw&do=Search&limit=mc-loc) > - 0 result > - check that location exist by doing a simple search and filtering on the location facet > - have some results >With patch: > - in advanced search, choose a location in shelving location tab and start search (opac-search.pl?idx=kw&op=and&idx=kw&op=and&idx=kw&do=Search&limit=mc-loc) > - found results > >Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> >Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> >--- > Koha/SearchEngine/Elasticsearch/QueryBuilder.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm b/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm >index 78de045..0a32f53 100644 >--- a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm >+++ b/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm >@@ -587,6 +587,7 @@ our %index_field_convert = ( > 'mc-ccode' => 'ccode', > 'branch' => 'homebranch', > 'mc-loc' => 'location', >+ 'loc' => 'location', > 'stocknumber' => 'number-local-acquisition', > 'inv' => 'number-local-acquisition', > 'bc' => 'barcode', >-- >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