Bug 32030: ERM - Vue - Datatables fix (follow-up 3)

Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com>

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2022-05-03 10:09:29 +02:00 committed by Tomas Cohen Arazi
parent 45360cd696
commit 0ff6c678cd
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -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';