From 9f38c22de4ea6578c839730f437cd5d2df7b678a 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. Update the visibility for 310$a in the default framework so that it is visible inte Editor (OPAC, Staff interface should already be selected). 7. Add a new record using the default framework and put a term in 310$a, such as 'Annual'. Sponsored-by: Education Services Australia SCIS --- 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 09af08c4306..16c3778fc86 100644 --- a/admin/searchengine/elasticsearch/mappings.yaml +++ b/admin/searchengine/elasticsearch/mappings.yaml @@ -4350,3 +4350,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.30.2