summaryrefslogtreecommitdiffstats
path: root/client/components/boards
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-03-11 20:26:23 +0200
committerLauri Ojansivu <x@xet7.org>2019-03-11 20:26:23 +0200
commitaee05a549f64cb70a838a4285d0a736d2a3ac819 (patch)
treeb8951e4971942cd9df7e6b6f26d9da7af93bbd69 /client/components/boards
parent0155c7d8ce5591cab7c9cd4ace2be6cbd741f9a1 (diff)
parent7da2a8a15e2e33a321b21aa926fdcf493e2e0423 (diff)
downloadwekan-aee05a549f64cb70a838a4285d0a736d2a3ac819.tar.gz
wekan-aee05a549f64cb70a838a4285d0a736d2a3ac819.tar.bz2
wekan-aee05a549f64cb70a838a4285d0a736d2a3ac819.zip
v2.44
Merge branch 'edge' into meteor-1.8
Diffstat (limited to 'client/components/boards')
-rw-r--r--client/components/boards/boardsList.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/client/components/boards/boardsList.js b/client/components/boards/boardsList.js
index 74a8e4d4..3a49a8bf 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'], ['_id', 'asc']] });
},
-
isStarred() {
const user = Meteor.user();
return user && user.hasStarred(this.currentData()._id);