mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
- Order All Boards by starred, color, board name and board description. Part 2.
Thanks to xet7 !
This commit is contained in:
parent
52a744b443
commit
8f337f17e4
1 changed files with 1 additions and 4 deletions
|
@ -26,11 +26,8 @@ BlazeComponent.extendComponent({
|
|||
'members.userId': Meteor.userId(),
|
||||
type: 'board',
|
||||
subtasksDefaultListId: null,
|
||||
}, {
|
||||
sort: { stars: -1, color: 1, title: 1, description: 1 },
|
||||
});
|
||||
}, { sort: [['stars', 'desc'], ['color', 'asc'], ['title', 'asc'], ['description', 'asc']] });
|
||||
},
|
||||
|
||||
isStarred() {
|
||||
const user = Meteor.user();
|
||||
return user && user.hasStarred(this.currentData()._id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue