2
0
Andrés Manelli 7 жил өмнө
parent
commit
09bc8ac44c
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  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({