Parcourir la source

Fix #1561 Filter checklist items

Andrés Manelli il y a 7 ans
Parent
commit
09bc8ac44c
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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({