mirror of
https://github.com/wekan/wekan.git
synced 2026-01-03 16:18:49 +01:00
Add sortDefault helper for sorting boards
This commit is contained in:
parent
9f396e9038
commit
10fcc19b7f
10 changed files with 50 additions and 31 deletions
|
|
@ -510,7 +510,7 @@ BlazeComponent.extendComponent({
|
|||
'members.userId': Meteor.userId(),
|
||||
},
|
||||
{
|
||||
sort: ['title'],
|
||||
sort: { sort: 1 /* boards default sorting */ },
|
||||
},
|
||||
);
|
||||
},
|
||||
|
|
@ -589,7 +589,7 @@ BlazeComponent.extendComponent({
|
|||
'subtext-with-parent',
|
||||
'no-parent',
|
||||
];
|
||||
options.forEach(function (element) {
|
||||
options.forEach(function(element) {
|
||||
if (element !== value) {
|
||||
$(`#${element} ${MCB}`).toggleClass(CKCLS, false);
|
||||
$(`#${element}`).toggleClass(CKCLS, false);
|
||||
|
|
@ -688,7 +688,7 @@ BlazeComponent.extendComponent({
|
|||
'members.userId': Meteor.userId(),
|
||||
},
|
||||
{
|
||||
sort: ['title'],
|
||||
sort: { sort: 1 /* boards default sorting */ },
|
||||
},
|
||||
);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue