mirror of
https://github.com/grocy/grocy.git
synced 2025-10-22 12:42:23 +00:00
Improved initial DataTables sorting (fixes #1235)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
var batteriesJournalTable = $('#batteries-journal-table').DataTable({
|
||||
'paginate': true,
|
||||
'order': [[1, 'desc']],
|
||||
'order': [[2, 'desc']],
|
||||
'columnDefs': [
|
||||
{ 'orderable': false, 'targets': 0 },
|
||||
{ 'searchable': false, "targets": 0 }
|
||||
|
||||
Reference in New Issue
Block a user