Bugzilla – Attachment 68260 Details for
Bug 19485
Limiting by title-series (se) broken on ES
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19485 - Don't transform se: limit for ES
Bug-19485---Dont-transform-se-limit-for-ES.patch (text/plain), 1.39 KB, created by
David Bourgault
on 2017-10-18 15:07:04 UTC
(
hide
)
Description:
Bug 19485 - Don't transform se: limit for ES
Filename:
MIME Type:
Creator:
David Bourgault
Created:
2017-10-18 15:07:04 UTC
Size:
1.39 KB
patch
obsolete
>From 21f4cd79a3fa75461cccdfbfdf26d95de0d56aea Mon Sep 17 00:00:00 2001 >From: David Bourgault <dav.bour@gmail.com> >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
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 19485
: 68260