mirror of
https://github.com/grocy/grocy.git
synced 2025-08-19 03:40:10 +00:00
Fixed DataTables numeric/datetime sorting (fixes #1085)
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user