From 477b93e3ff02d4df7ffbea1587f1df8aa1f4e143 Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Thu, 23 May 2024 16:44:09 -0400 Subject: [PATCH] Bug 36953: Add 678 to authority index (MARC21) This enhancement adds field 678 to the default MARC21 authority index mappings. To test: 1. Import the attached .mrc file 2. Go to Authorities 3. Search "Entire record" for innu --> No results 4. Go to the OPAC > Authority search 5. Search "in the complete record" for innu --> No results 6. Apply patch 7. Reindex authorities (in KTD shell: koha-elasticsearch --rebuild -a -v -r kohadev) 8. Redo step 3 --> 1 result 9. Redo steps 4-5 --> 1 result Signed-off-by: David Nind 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 929d62b08a..27d6072395 100644 --- a/admin/searchengine/elasticsearch/mappings.yaml +++ b/admin/searchengine/elasticsearch/mappings.yaml @@ -1,5 +1,17 @@ --- authorities: + Biographical-note: + label: Biographical-note + mandatory: ~ + mappings: + - facet: '' + marc_field: 678(ab) + marc_type: marc21 + sort: 1 + suggestible: '' + opac: 1 + staff_client: 1 + type: '' Corporate-name-see-also-from: label: Corporate-name-see-also-from mandatory: ~ -- 2.39.5