mirror of
https://github.com/wekan/wekan.git
synced 2026-01-30 13:15:16 +01:00
ReactiveMiniMongoIndex, added getCardCommentsWithCardId
This commit is contained in:
parent
316acd0366
commit
42fad8fb98
2 changed files with 25 additions and 2 deletions
|
|
@ -784,8 +784,9 @@ Cards.helpers({
|
|||
{ sort: { createdAt: -1 } },
|
||||
);
|
||||
} else {
|
||||
ret = ReactiveCache.getCardComments(
|
||||
{ cardId: this.getRealId() },
|
||||
ret = ReactiveMiniMongoIndex.getCardCommentsWithCardId(
|
||||
this.getRealId(),
|
||||
{},
|
||||
{ sort: { createdAt: -1 } },
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue