From 07c5776ed92648e6b1ebb373208009039cd70a64 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Wed, 19 Oct 2022 22:13:07 -1000 Subject: [PATCH] Bug 31887: Fix search on MARC field in Elasticsearch mappings table In Elasticsearch mappings table, in tabs with MARC fields, searching using DataTable search field does not work for MARC fields / subfields. This is because cell contains an input HTML tag with MARC data in attribute value. Test plan : 1) Go to Administration > Search engine configuration (Elasticsearch) 2) Go to tab 'Bibliographic records' 3) Enter in search field a used MARC field (like 245) => Table gets filtered by rows with mapping on searched field 4) Enter in search field the field+subfield used for issues (952l in KTD) => Table gets filtered by rows with mapping on field+subfield Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- .../en/modules/admin/searchengine/elasticsearch/mappings.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 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 80a6a4446d..b0ec83750f 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 @@ -302,7 +302,7 @@ a.add, a.delete { [% IF mapping.search == 1 %]Yes[% ELSE %]No[% END %] - +   @@ -363,7 +363,7 @@ a.add, a.delete { [% END %] - + [% IF mapping.search_field_mandatory %] -- 2.39.5