summaryrefslogtreecommitdiffstats
path: root/client/components/boards/boardsList.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-03-08 09:41:36 +0200
committerLauri Ojansivu <x@xet7.org>2019-03-08 09:41:36 +0200
commit856872815292590e0c4eff2848ea1b857a318dc4 (patch)
tree5a287c790a8f9939ab01c82401dc96d9fba528cd /client/components/boards/boardsList.js
parent8783983945e95e79ff64f3cdad72a8faf4ab60fa (diff)
downloadwekan-856872815292590e0c4eff2848ea1b857a318dc4.tar.gz
wekan-856872815292590e0c4eff2848ea1b857a318dc4.tar.bz2
wekan-856872815292590e0c4eff2848ea1b857a318dc4.zip
- [Hide Subtask boards from All Boards](https://github.com/wekan/wekan/issues/1990).
- Order All Boards by Starred, Color and Title. Thanks to xet7 ! Closes #1990, Related #641
Diffstat (limited to 'client/components/boards/boardsList.js')
-rw-r--r--client/components/boards/boardsList.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/components/boards/boardsList.js b/client/components/boards/boardsList.js
index df495bb1..8dd05913 100644
--- a/client/components/boards/boardsList.js
+++ b/client/components/boards/boardsList.js
@@ -25,8 +25,9 @@ BlazeComponent.extendComponent({
archived: false,
'members.userId': Meteor.userId(),
type: 'board',
+ subtasksDefaultListId: null,
}, {
- sort: ['title'],
+ sort: { stars: -1, color: 1, title: 1 },
});
},