diff options
Diffstat (limited to 'client/components/boards')
-rw-r--r-- | client/components/boards/boardsList.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/client/components/boards/boardsList.js b/client/components/boards/boardsList.js index 74a8e4d4..fcd1a6ce 100644 --- a/client/components/boards/boardsList.js +++ b/client/components/boards/boardsList.js @@ -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); |