mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 08:34:48 +00:00
Improved initial DataTables sorting (fixes #1235)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
var batteriesOverviewTable = $('#batteries-overview-table').DataTable({
|
||||
'order': [[2, 'desc']],
|
||||
'order': [[4, 'asc']],
|
||||
'columnDefs': [
|
||||
{ 'orderable': false, 'targets': 0 },
|
||||
{ 'searchable': false, "targets": 0 },
|
||||
|
Reference in New Issue
Block a user