summaryrefslogtreecommitdiffstats
path: root/client/components/boards
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-08-27 01:26:21 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-08-27 01:26:21 +0200
commitbd331122b853dfde4e620f087316da743f89652f (patch)
tree04c140b2199175becb281b66b720ef8327ec3274 /client/components/boards
parentdd08485b368e5053339481ac2f450ed01565acca (diff)
downloadwekan-bd331122b853dfde4e620f087316da743f89652f.tar.gz
wekan-bd331122b853dfde4e620f087316da743f89652f.tar.bz2
wekan-bd331122b853dfde4e620f087316da743f89652f.zip
Show only boards in which the user participate in the home page grid
Fixes #218
Diffstat (limited to 'client/components/boards')
-rw-r--r--client/components/boards/boardList.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/components/boards/boardList.js b/client/components/boards/boardList.js
index cf6b727c..2311e7d0 100644
--- a/client/components/boards/boardList.js
+++ b/client/components/boards/boardList.js
@@ -4,7 +4,10 @@ BlazeComponent.extendComponent({
},
boards: function() {
- return Boards.find({ archived: false }, {
+ return Boards.find({
+ archived: false,
+ 'members.userId': Meteor.userId()
+ }, {
sort: ['title']
});
},