From c5f28855ad5870457b5cd8a2171e5bb23c054f2f Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Sun, 5 Nov 2023 20:53:43 -1000 Subject: [PATCH] Bug 35265: Remove drag and drop in Elasticsearch mappings Bug 18827 says ordering search fields in Elasticsearch mappings is useless. This patch removes it. Drag and drop is kept for facets. Test plan : 1) Enable Elasticsearch 2) Go to Administration > Search engine configuration (Elasticsearch) 3) Go to tab 'Bibliographic records' 4) Check there is no Javscript error 5) Check you can't drag and drop lines anymore Signed-off-by: David Nind Signed-off-by: Martin Renvoize Signed-off-by: Barbara Petritsch Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Katrin Fischer --- .../modules/admin/searchengine/elasticsearch/mappings.tt | 4 ++-- .../intranet-tmpl/prog/js/elasticsearch-mappings.js | 9 --------- 2 files changed, 2 insertions(+), 11 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 242eae6758..164bf6f7c4 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 @@ -261,7 +261,7 @@ a.add, a.delete { [% WRAPPER tab_panel tabname="mapping_${ index.index_name }" %] - + @@ -387,7 +387,7 @@ a.add, a.delete { [% END %] - +
Search field Sortable Facetable