Skip to content

Commit 820cbed

Browse files
authored
Merge pull request #78 from liam-middlebrook/fix-datatable-sort
Add way to ignore sorting order for tables
2 parents 37ee6dc + bde4493 commit 820cbed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/javascript/modules/table.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ export default class Table {
1616
lengthChange: this.table.dataset.lengthChangable === 'true',
1717
info: false,
1818
paging: !(this.table.dataset.paginated === 'false'),
19-
pagingType: "numbers"
19+
pagingType: "numbers",
20+
order: []
2021
};
2122

2223
// Just remove the search input from the DOM instead of disabling it

0 commit comments

Comments
 (0)