|
@@ -34,9 +34,9 @@ Checklists.helpers({
|
|
return ChecklistItems.find({ checklistId: this._id }).count();
|
|
return ChecklistItems.find({ checklistId: this._id }).count();
|
|
},
|
|
},
|
|
items() {
|
|
items() {
|
|
- return ChecklistItems.find(Filter.mongoSelector({
|
|
|
|
|
|
+ return ChecklistItems.find({
|
|
checklistId: this._id,
|
|
checklistId: this._id,
|
|
- }), { sort: ['sort'] });
|
|
|
|
|
|
+ }, { sort: ['sort'] });
|
|
},
|
|
},
|
|
finishedCount() {
|
|
finishedCount() {
|
|
return ChecklistItems.find({
|
|
return ChecklistItems.find({
|