Browse Source

Fix #1561 Filter checklist items

Andrés Manelli 7 năm trước cách đây
mục cha
commit
09bc8ac44c
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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({