diff --git a/models/cards.js b/models/cards.js index ac412ce77..142b738a4 100644 --- a/models/cards.js +++ b/models/cards.js @@ -721,6 +721,11 @@ Cards.helpers({ { cardId: this.linkedId }, { sort: { createdAt: -1 } }, ); + } else if (this.isLinkedBoard()) { + return CardComments.find( + { boardId: this.linkedId }, + { sort: { createdAt: -1 } }, + ); } else { return CardComments.find( { cardId: this._id },