From 0afb36650ecd2dd81a118d03dbc68b8c07078a92 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 --- .../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 9e2761a1f1d..979bca863a7 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 ae1681e41ff..d0f27a46d28 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.2