From 141ec0e7b393ac72247c9a1e6d4c6bb1249580a9 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 --- 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 929f2f9410..49828ed4db 100644 --- a/admin/searchengine/elasticsearch/mappings.yaml +++ b/admin/searchengine/elasticsearch/mappings.yaml @@ -4387,3 +4387,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.2