Fix #1561 Filter checklist items

This commit is contained in:
Andrés Manelli 2018-04-16 00:16:58 -03:00
parent eae4bb2d37
commit 09bc8ac44c

View file

@ -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({