From 197039eb024490627a6ca56622006c603585eff8 Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Sun, 12 May 2024 22:02:46 +0000 Subject: [PATCH] Bug 36725: Add Current publication frequency 310$a to Elasticsearch index mappings Test plan: 1. Start up KTD with Elasticsearch: ktd --es8 up 2. Apply this patch and restart all services (restart_all) 3. Reset the mappings: Administration > Catalog > Search engine configuration (Elasticsearch) > Reset mappings (at the bottom of the page) 4. Reindex: koha-elasticsearch --rebuild -d -b -a kohadev 5. Alternative to steps 3 and 4: reset_all 6. Add a new record using the default framework and put a term in 310$a, such as 'Annual'. Sponsored-by: Education Services Australia SCIS Signed-off-by: David Nind Signed-off-by: Nick Clemens Signed-off-by: Katrin Fischer --- admin/searchengine/elasticsearch/mappings.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml index 8440add0cd..f1bfdbe916 100644 --- a/admin/searchengine/elasticsearch/mappings.yaml +++ b/admin/searchengine/elasticsearch/mappings.yaml @@ -4438,3 +4438,15 @@ biblios: opac: 1 staff_client: 1 type: '' + Current-publication-frequency: + label: Current-publication-frequency + mandatory: ~ + mappings: + - facet: '' + marc_field: 310a + marc_type: marc21 + sort: 1 + suggestible: '' + opac: 1 + staff_client: 1 + type: '' -- 2.39.5