From 942b24f4508a7f90c7dd7b49788f618140481529 Mon Sep 17 00:00:00 2001 From: David Nind Date: Sun, 8 Dec 2024 17:54:02 +0000 Subject: [PATCH] Bug 36609: Update index type labels for search engine configuration This fixes the labels used for the type options when configuring Elasticsearch search fields so that they use: - sentence case - the full name, instead of abbreviations (to make it clearer for translators) Test plan: 1. Go to Administration > Catalog > Search engine configuration (Elasticsearch). 2. In the search fields tab, select the type column dropdown list for any field. Note the labels used for these options: - (the default option) - Std. Number - Call Number 3. Apply the patch. 4. Refresh the page. 5. Repeat step 2 and note that the option labels are now: - Default (instead of being blank) - Identfier (instead of Std. Number) - Call number (instead of Call Number) 6. Sign off D: --- .../admin/searchengine/elasticsearch/mappings.tt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt index b32a11b63f..302d439ee6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt @@ -216,14 +216,14 @@ a.add, a.delete { [% END %] [% IF search_field.type == "stdno" %] - + [% ELSE %] - + [% END %] [% IF search_field.type == "callnumber" %] - + [% ELSE %] - + [% END %] [% IF search_field.type == "geo_point" %] @@ -290,8 +290,8 @@ a.add, a.delete { - - + + -- 2.39.5