diff options
author | Andrés Manelli <andresmanelli@gmail.com> | 2019-03-08 23:39:33 +0100 |
---|---|---|
committer | Andrés Manelli <andresmanelli@gmail.com> | 2019-03-16 22:49:45 +0100 |
commit | 4cd0d1c3971f001eccf023bb84f1bee113fed215 (patch) | |
tree | 207684b92f9d07294a29b850d672b3f0cc1bae72 /server/publications | |
parent | ff19d6744e3f4a944944185d41b944310f35fc36 (diff) | |
download | wekan-4cd0d1c3971f001eccf023bb84f1bee113fed215.tar.gz wekan-4cd0d1c3971f001eccf023bb84f1bee113fed215.tar.bz2 wekan-4cd0d1c3971f001eccf023bb84f1bee113fed215.zip |
Migrate customFields
Diffstat (limited to 'server/publications')
-rw-r--r-- | server/publications/boards.js | 2 |
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 |