Fixed DataTables numeric/datetime sorting (fixes #1085)

This commit is contained in:
Bernd Bestel
2020-12-17 17:33:24 +01:00
parent bbad049880
commit b5fc64cf5d
10 changed files with 36 additions and 22 deletions

View File

@@ -2,7 +2,10 @@
'order': [[2, 'desc']],
'columnDefs': [
{ 'orderable': false, 'targets': 0 },
{ 'searchable': false, "targets": 0 }
{ 'searchable': false, "targets": 0 },
{ "type": "html", "targets": 5 },
{ "type": "html", "targets": 2 },
{ "type": "html", "targets": 3 }
].concat($.fn.dataTable.defaults.columnDefs)
});
$('#chores-overview-table tbody').removeClass("d-none");