mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 16:44:55 +00:00
Improved initial DataTables sorting (fixes #1235)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
var choresJournalTable = $('#chores-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