Bugzilla – Attachment 129681 Details for
Bug 29919
Elasticsearch missing alias pl for place-of-publication
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29919: Elasticsearch add alias pl for place-of-publication
Bug-29919-Elasticsearch-add-alias-pl-for-place-of-.patch (text/plain), 1.24 KB, created by
Fridolin Somers
on 2022-01-21 07:06:57 UTC
(
hide
)
Description:
Bug 29919: Elasticsearch add alias pl for place-of-publication
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2022-01-21 07:06:57 UTC
Size:
1.24 KB
patch
obsolete
>From 1991d42b272167a2f57e5cba0388242458f283d0 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Thu, 20 Jan 2022 20:59:00 -1000 >Subject: [PATCH] Bug 29919: Elasticsearch add alias pl for > place-of-publication > >Elasticsearch is missing alias "pl" for "place-of-publication". >Advanced search uses directly this alias. >Currently only working with Zebra. > >Test plan : >1) Use search engine Elasticsearch >2) Catalog some records with a place of publication >3) From advanced search, perform a search on "Publisher location" >4) Check you see the alias in search engine configuration >--- > 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 607634c405..4fe0ed1e90 100644 >--- a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm >+++ b/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm >@@ -61,6 +61,7 @@ our %index_field_convert = ( > 'lc-card' => 'lc-card-number', > 'sn' => 'local-number', > 'biblionumber' => 'local-number', >+ 'pl' => 'place-of-publication', > 'yr' => 'date-of-publication', > 'pubdate' => 'date-of-publication', > 'acqdate' => 'date-of-acquisition', >-- >2.34.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 29919
: 129681