소스 검색

Revert Wekan v3.37 Fix Linked cards make load all cards of database.

Thanks to xet7!

Related #2688,
related #2693
Lauri Ojansivu 5 년 전
부모
커밋
6ce8eeee6c
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);   // GitHub issue #2688
+            subCards.push(impCardId);   // GitHub issue #2688 and #2693
             cardComments.push(impCardId);
             cardComments.push(impCardId);
             attachments.push(impCardId);
             attachments.push(impCardId);
             checklists.push(impCardId);
             checklists.push(impCardId);