diff --git a/server/publications/cards.js b/server/publications/cards.js index 463407c21..37c7ff845 100644 --- a/server/publications/cards.js +++ b/server/publications/cards.js @@ -483,7 +483,7 @@ function buildSelector(queryParams) { const attachments = Attachments.find({ 'original.name': regex }); - const comments = CardComments.find( + const comments = ReactiveCache.getCardComments( { text: regex }, { fields: { cardId: 1 } }, );