From 0ff6c678cdbfc81ac170898e462424e847efdcf0 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 3 May 2022 10:09:29 +0200 Subject: [PATCH] Bug 32030: ERM - Vue - Datatables fix (follow-up 3) Signed-off-by: Jonathan Field Signed-off-by: Martin Renvoize Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/js/datatables.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/datatables.js b/koha-tmpl/intranet-tmpl/prog/js/datatables.js index 3d49bdd55a..d6c17c12c7 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/datatables.js +++ b/koha-tmpl/intranet-tmpl/prog/js/datatables.js @@ -853,7 +853,7 @@ jQuery.fn.dataTable.ext.errMode = function(settings, note, message) { $(this).find('thead tr:eq(1) th').each( function (i) { var is_searchable = table_dt.settings()[0].aoColumns[i].bSearchable; - $(this).removeClass('sorting'); + $(this).removeClass('sorting').removeClass("sorting_asc").removeClass("sorting_desc"); $(this).data('th-id', i); if ( is_searchable ) { let input_type = 'input';