mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 08:34:48 +00:00
Fixed DataTables numeric/datetime sorting (fixes #1085)
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
'order': [[2, 'desc']],
|
||||
'columnDefs': [
|
||||
{ 'orderable': false, 'targets': 0 },
|
||||
{ 'searchable': false, "targets": 0 }
|
||||
{ 'searchable': false, "targets": 0 },
|
||||
{ "type": "html", "targets": 3 },
|
||||
{ "type": "html", "targets": 4 }
|
||||
].concat($.fn.dataTable.defaults.columnDefs)
|
||||
});
|
||||
$('#batteries-overview-table tbody').removeClass("d-none");
|
||||
|
Reference in New Issue
Block a user