From 34bfbf051f40671171b6daab523cded470f17046 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 21 Mar 2024 12:36:35 +0100 Subject: [PATCH] Bug 35249: Remove sort indicator on th Signed-off-by: Nick Clemens Signed-off-by: Katrin Fischer --- .../en/modules/admin/searchengine/elasticsearch/mappings.tt | 6 +++--- koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js | 2 +- 2 files changed, 4 insertions(+), 4 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 9e2761a1f1..979bca863a 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 @@ -491,9 +491,9 @@ a.add, a.delete { Order - Search field - Label - Display + Search field + Label + Display diff --git a/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js b/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js index ae1681e41f..d0f27a46d2 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js +++ b/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js @@ -103,7 +103,7 @@ $(document).ready(function () { $("#facet_biblios_table").DataTable( $.extend(true, {}, dataTablesDefaults, { "columnDefs": [ - { "orderable": false, "searchable": false, 'targets': ['NoSort'] }, + { "orderable": false, "targets": [ "NoSort" ] }, { "searchable": false, "visible": false, "targets": 0 } ], "dom": "t", -- 2.39.5