浏览代码

Fix: Linked cards make load all cards of database.

Thanks to Akuket !

Closes #2688
Lauri Ojansivu 5 年之前
父节点
当前提交
a56988c487
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      server/publications/boards.js

+ 1 - 1
server/publications/boards.js

@@ -148,7 +148,7 @@ Meteor.publishRelations('board', function(boardId, isArchived) {
         function(cardId, card) {
         function(cardId, card) {
           if (card.type === 'cardType-linkedCard') {
           if (card.type === 'cardType-linkedCard') {
             const impCardId = card.linkedId;
             const impCardId = card.linkedId;
-            subCards.push(impCardId);
+            //subCards.push(impCardId);   // GitHub issue #2688
             cardComments.push(impCardId);
             cardComments.push(impCardId);
             attachments.push(impCardId);
             attachments.push(impCardId);
             checklists.push(impCardId);
             checklists.push(impCardId);