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