diff options
Diffstat (limited to 'models')
-rw-r--r-- | models/checklists.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/checklists.js b/models/checklists.js index e352f38d..c58453ef 100644 --- a/models/checklists.js +++ b/models/checklists.js @@ -34,9 +34,9 @@ Checklists.helpers({ return ChecklistItems.find({ checklistId: this._id }).count(); }, items() { - return ChecklistItems.find(Filter.mongoSelector({ + return ChecklistItems.find({ checklistId: this._id, - }), { sort: ['sort'] }); + }, { sort: ['sort'] }); }, finishedCount() { return ChecklistItems.find({ |