summaryrefslogtreecommitdiffstats
path: root/client/components/lists
diff options
context:
space:
mode:
authorAndrés Manelli <andresmanelli@gmail.com>2018-04-16 16:48:54 -0300
committerAndrés Manelli <andresmanelli@gmail.com>2018-08-10 23:57:35 +0200
commita93de07fb9b85f97da274bf549e5244ee8e30484 (patch)
treefca34bc0c1f3a76a52115aebc467ec725e511ac7 /client/components/lists
parent64367a01dd6b86982c22b4c124e8f37474e9cb08 (diff)
downloadwekan-a93de07fb9b85f97da274bf549e5244ee8e30484.tar.gz
wekan-a93de07fb9b85f97da274bf549e5244ee8e30484.tar.bz2
wekan-a93de07fb9b85f97da274bf549e5244ee8e30484.zip
Avoid importing imported cards or boards
Diffstat (limited to 'client/components/lists')
-rw-r--r--client/components/lists/listBody.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/components/lists/listBody.js b/client/components/lists/listBody.js
index 2c8b1af7..c0533008 100644
--- a/client/components/lists/listBody.js
+++ b/client/components/lists/listBody.js
@@ -337,6 +337,7 @@ BlazeComponent.extendComponent({
swimlaneId: this.selectedSwimlaneId.get(),
listId: this.selectedListId.get(),
archived: false,
+ importedId: null,
});
},
@@ -436,7 +437,7 @@ BlazeComponent.extendComponent({
results() {
const board = Boards.findOne(this.selectedBoardId.get());
- return board.searchCards(this.term.get());
+ return board.searchCards(this.term.get(), true);
},
events() {