summaryrefslogtreecommitdiffstats
path: root/server/publications
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 /server/publications
parentff19d6744e3f4a944944185d41b944310f35fc36 (diff)
downloadwekan-4cd0d1c3971f001eccf023bb84f1bee113fed215.tar.gz
wekan-4cd0d1c3971f001eccf023bb84f1bee113fed215.tar.bz2
wekan-4cd0d1c3971f001eccf023bb84f1bee113fed215.zip
Migrate customFields
Diffstat (limited to 'server/publications')
-rw-r--r--server/publications/boards.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/publications/boards.js b/server/publications/boards.js
index 18c44d2b..6d9d2b9e 100644
--- a/server/publications/boards.js
+++ b/server/publications/boards.js
@@ -78,7 +78,7 @@ Meteor.publishRelations('board', function(boardId) {
this.cursor(Lists.find({ boardId }));
this.cursor(Swimlanes.find({ boardId }));
this.cursor(Integrations.find({ boardId }));
- this.cursor(CustomFields.find({ boardId }, { sort: { name: 1 } }));
+ this.cursor(CustomFields.find({ boardIds: {$in: [boardId]} }, { sort: { name: 1 } }));
// Cards and cards comments
// XXX Originally we were publishing the card documents as a child of the