Bugzilla – Attachment 168780 Details for
Bug 37319
Move mappings for 752ad (MARC21) and 210a/214a (UNIMARC) to pl index
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37319: Move mappings for 752ad (MARC21) and 210a/214a (UNIMARC) to pl index
Bug-37319-Move-mappings-for-752ad-MARC21-and-210a2.patch (text/plain), 2.21 KB, created by
Janusz Kaczmarek
on 2024-07-11 09:17:14 UTC
(
hide
)
Description:
Bug 37319: Move mappings for 752ad (MARC21) and 210a/214a (UNIMARC) to pl index
Filename:
MIME Type:
Creator:
Janusz Kaczmarek
Created:
2024-07-11 09:17:14 UTC
Size:
2.21 KB
patch
obsolete
>From 9359e31869a373c1a426a63ba360187f26130d90 Mon Sep 17 00:00:00 2001 >From: Janusz Kaczmarek <januszop@gmail.com> >Date: Thu, 11 Jul 2024 11:04:01 +0200 >Subject: [PATCH] Bug 37319: Move mappings for 752ad (MARC21) and 210a/214a > (UNIMARC) to pl index > >In Bug 36578, some fields were added to the pl index, but somehow it >ended up in the other-control-number index. This aims to put fields >752ad (MARC21) and 210a/214a (UNIMARC) in the pl index. > >Test plan: >---------- >0. Have an installation with Elasticsearch and MARC 21 configuration. >1. Under Administration > Search engine configuration (Elasticsearch) > under the tab Bibliographic records check that you have 752ad in > other-control-number search field. >2. Apply the patch, reindex with: > sudo koha-elasticsearch --rebuild -r -b kohadev >3. Under Administration > Search engine configuration (Elasticsearch) > under the tab Bibliographic records check that you have 752ad in pl > search field now. >--- > .../searchengine/elasticsearch/mappings.yaml | 30 +++++++++---------- > 1 file changed, 15 insertions(+), 15 deletions(-) > >diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml >index 86d2a9949c..17e513fb6f 100644 >--- a/admin/searchengine/elasticsearch/mappings.yaml >+++ b/admin/searchengine/elasticsearch/mappings.yaml >@@ -3176,21 +3176,6 @@ biblios: > marc_type: marc21 > sort: 1 > suggestible: '' >- - facet: '' >- marc_field: 752ad >- marc_type: marc21 >- sort: 1 >- suggestible: '' >- - facet: '' >- marc_field: 210a >- marc_type: unimarc >- sort: 1 >- suggestible: '' >- - facet: '' >- marc_field: 214a >- marc_type: unimarc >- sort: 1 >- suggestible: '' > opac: 1 > staff_client: 1 > type: '' >@@ -3245,6 +3230,21 @@ biblios: > marc_type: marc21 > sort: 1 > suggestible: '' >+ - facet: '' >+ marc_field: 752ad >+ marc_type: marc21 >+ sort: 1 >+ suggestible: '' >+ - facet: '' >+ marc_field: 210a >+ marc_type: unimarc >+ sort: 1 >+ suggestible: '' >+ - facet: '' >+ marc_field: 214a >+ marc_type: unimarc >+ sort: 1 >+ suggestible: '' > opac: 1 > staff_client: 1 > type: '' >-- >2.39.2
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 37319
:
168780
|
168826