Browse Source

Fix #1561 Filter checklist items

Andrés Manelli 7 years ago
parent
commit
09bc8ac44c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      models/checklists.js

+ 2 - 2
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({