diff options
-rw-r--r-- | CHANGELOG.md | 9 | ||||
-rw-r--r-- | models/users.js | 2 |
2 files changed, 6 insertions, 5 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 43171dd0..1f695d61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,11 +7,12 @@ This release adds the following new features: and fixes the following bugs: -* [Fix: Emoji detection breaks MAC addresses](https://github.com/wekan/wekan/issues/1248); -* [Fix: Codeblocks should not be scanned for emoji](https://github.com/wekan/wekan/issues/643); -* [Fix: Whitespace trimming breaks Markdown code block indentation](https://github.com/wekan/wekan/issues/1288). +* [Emoji detection breaks MAC addresses](https://github.com/wekan/wekan/issues/1248); +* [Codeblocks should not be scanned for emoji](https://github.com/wekan/wekan/issues/643); +* [Whitespace trimming breaks Markdown code block indentation](https://github.com/wekan/wekan/issues/1288): +* [Helper to list boards for user](https://github.com/wekan/wekan/pull/1327). -Thanks to Github users brooksbecton, thuanpq and xet7 for their contributions. +Thanks to Github users brooksbecton, milesibastos, thuanpq and xet7 for their contributions. # v0.54 2017-11-02 Wekan release diff --git a/models/users.js b/models/users.js index 9a0a61a4..85f4baf2 100644 --- a/models/users.js +++ b/models/users.js @@ -159,7 +159,7 @@ if (Meteor.isClient) { Users.helpers({ boards() { - return Boards.find({userId: this._id}); + return Boards.find({ 'members.userId': this._id }); }, starredBoards() { |