ReactiveMiniMongoIndex, added getChecklistsWithCardId

This commit is contained in:
Martin Filser 2023-03-03 20:25:52 +01:00
parent 40a5422e75
commit f80ecded0a
2 changed files with 23 additions and 1 deletions

View file

@ -809,7 +809,7 @@ Cards.helpers({
},
checklists() {
const ret = ReactiveCache.getChecklists({ cardId: this.getRealId() }, { sort: { sort: 1 } });
const ret = ReactiveMiniMongoIndex.getChecklistsWithCardId(this.getRealId(), {}, { sort: { sort: 1 } });
return ret;
},