mirror of
https://github.com/grocy/grocy.git
synced 2025-09-29 19:12:24 +00:00
Fixed DataTables numeric/datetime sorting (fixes #1085)
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
'order': [[1, 'asc']],
|
||||
'columnDefs': [
|
||||
{ 'orderable': false, 'targets': 0 },
|
||||
{ 'searchable': false, "targets": 0 }
|
||||
{ 'searchable': false, "targets": 0 },
|
||||
{ "type": "html-num-fmt", "targets": 3 }
|
||||
].concat($.fn.dataTable.defaults.columnDefs)
|
||||
});
|
||||
$('#products-table tbody').removeClass("d-none");
|
||||
|
Reference in New Issue
Block a user