From 21f4cd79a3fa75461cccdfbfdf26d95de0d56aea Mon Sep 17 00:00:00 2001 From: David Bourgault Date: Wed, 18 Oct 2017 10:57:30 -0400 Subject: [PATCH] Bug 19485 - Don't transform se: limit for ES This removes the field name conversion for the Series title. Before it would transform 'se' into 'title-series', now in won't since ES indexes as 'se' by default. TEST PLAN: 0) Create a record with a "Series title" tag (440$a or 490$a in MARC21) 1) In the OPAC, do a search which would include the record from step 0) 2) In the left facet selection, click on the series title. <==== Without patch 3) No results will be shown, the breadcrumbs show the limit as 'title-series' ====> With patch applied 3) Results will show correctly, breadcrumbs show the limit as 'se' --- 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 7092e0f..f977641 100644 --- a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm +++ b/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm @@ -517,7 +517,7 @@ our %index_field_convert = ( 'au' => 'author', 'su' => 'subject', 'nb' => 'isbn', - 'se' => 'title-series', + 'se' => 'se', 'callnum' => 'callnum', 'itype' => 'itype', 'ln' => 'ln', -- 2.7.4