2
0
IgnatzHome 7 жил өмнө
parent
commit
2bf13a50c4
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      client/lib/filter.js

+ 1 - 1
client/lib/filter.js

@@ -148,7 +148,7 @@ class AdvancedFilter {
   _fieldNameToId(field)
   {
     console.log("searching: "+field);
-    const found = CustomFields.find({'name':field});
+    const found = CustomFields.findOne({'name':field});
     console.log(found);
     return found._id;
   }