From c5ac510c22291885d77974341d807d76817dd054 Mon Sep 17 00:00:00 2001 From: Lari Taskula Date: Fri, 10 Oct 2025 15:56:45 +0300 Subject: [PATCH] Bug 40994: Add 651a to facets To test: 1. Start creating a new record 2. Populate the following field: 651: _a Suomi _2 yso/fin _0 http://www.yso.fi/onto/yso/p94426 3. Save the record (and ensure the new record gets indexed) 4. On either OPAC or staff client, search for all records 5. Observe "Suomi" under "Topics" facet --- admin/searchengine/elasticsearch/mappings.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml index 5594857d9af..0d71e9baef5 100644 --- a/admin/searchengine/elasticsearch/mappings.yaml +++ b/admin/searchengine/elasticsearch/mappings.yaml @@ -3637,6 +3637,11 @@ biblios: marc_type: marc21 sort: 1 suggestible: 1 + - facet: 1 + marc_field: 651a + marc_type: marc21 + sort: 1 + suggestible: 1 - facet: 1 marc_field: 653a marc_type: marc21 -- 2.34.1