diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-09-24 15:12:47 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-09-24 15:12:47 +0200 |
commit | 57fa7af24c8d59629e1b82f6d4f2173d77710128 (patch) | |
tree | 8531b6c79adcd0e48ea3edbf7c231c74acc63a24 | |
parent | b8403b9c35b141c61c5bee5d0bfd6522f9c874cf (diff) | |
parent | b2ab174fd56a22da1600bbefc8965474fd458a1f (diff) | |
download | wekan-57fa7af24c8d59629e1b82f6d4f2173d77710128.tar.gz wekan-57fa7af24c8d59629e1b82f6d4f2173d77710128.tar.bz2 wekan-57fa7af24c8d59629e1b82f6d4f2173d77710128.zip |
Merge pull request #326 from AlexanderS/fix/display-all-archived
sidebar: Filter archived cards/lists for current board
-rw-r--r-- | client/components/sidebar/sidebarArchives.js | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/client/components/sidebar/sidebarArchives.js b/client/components/sidebar/sidebarArchives.js index 52d42edb..18970267 100644 --- a/client/components/sidebar/sidebarArchives.js +++ b/client/components/sidebar/sidebarArchives.js @@ -11,11 +11,17 @@ BlazeComponent.extendComponent({ }, archivedCards() { - return Cards.find({ archived: true }); + return Cards.find({ + archived: true, + boardId: Session.get('currentBoard'), + }); }, archivedLists() { - return Lists.find({ archived: true }); + return Lists.find({ + archived: true, + boardId: Session.get('currentBoard'), + }); }, cardIsInArchivedList() { |