summaryrefslogtreecommitdiffstats
path: root/models/cards.js
diff options
context:
space:
mode:
authorAndrés Manelli <andresmanelli@gmail.com>2019-03-08 23:39:33 +0100
committerAndrés Manelli <andresmanelli@gmail.com>2019-03-16 22:49:45 +0100
commit4cd0d1c3971f001eccf023bb84f1bee113fed215 (patch)
tree207684b92f9d07294a29b850d672b3f0cc1bae72 /models/cards.js
parentff19d6744e3f4a944944185d41b944310f35fc36 (diff)
downloadwekan-4cd0d1c3971f001eccf023bb84f1bee113fed215.tar.gz
wekan-4cd0d1c3971f001eccf023bb84f1bee113fed215.tar.bz2
wekan-4cd0d1c3971f001eccf023bb84f1bee113fed215.zip
Migrate customFields
Diffstat (limited to 'models/cards.js')
-rw-r--r--models/cards.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/cards.js b/models/cards.js
index c3bae400..2caecb46 100644
--- a/models/cards.js
+++ b/models/cards.js
@@ -476,7 +476,7 @@ Cards.helpers({
// get all definitions
const definitions = CustomFields.find({
- boardId: this.boardId,
+ boardIds: {$in: [this.boardId]},
}).fetch();
// match right definition to each field