mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-11 23:54:43 +08:00
Merge pull request #4899 from sboursen-scinote/sb_SCI-7818
Default sorting in tables is saved (user specific) [SCI-7818]
This commit is contained in:
commit
3742dc1e54
3 changed files with 3 additions and 0 deletions
|
@ -237,6 +237,7 @@
|
|||
LABEL_TEMPLATE_TABLE = $table.DataTable({
|
||||
dom: "R<'label-toolbar'<'label-buttons-container'><'label-search-container'f>>t<'pagination-row hidden'<'pagination-info'li><'pagination-actions'p>>",
|
||||
order: [[1, 'desc']],
|
||||
stateSave: true,
|
||||
sScrollX: '100%',
|
||||
sScrollXInner: '100%',
|
||||
processing: true,
|
||||
|
|
|
@ -227,6 +227,7 @@
|
|||
dom: "Rt<'pagination-row hidden'<'pagination-info'li><'pagination-actions'p>>",
|
||||
order: [[9, 'desc']],
|
||||
sScrollX: '100%',
|
||||
stateSave: true,
|
||||
sScrollXInner: '100%',
|
||||
processing: true,
|
||||
serverSide: true,
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
aaData: data,
|
||||
dom: "R<'main-actions hidden'<'toolbar'><'filter-container'f>>t<'pagination-row hidden'<'pagination-info'li><'pagination-actions'p>>",
|
||||
processing: true,
|
||||
stateSave: true,
|
||||
pageLength: 25,
|
||||
colReorder: {
|
||||
enable: false
|
||||
|
|
Loading…
Add table
Reference in a new issue