correcting _fieldNameToId(field);

This commit is contained in:
IgnatzHome 2018-05-19 21:42:11 +02:00
parent 811ccf0f10
commit 17fcfd3697

View file

@ -145,9 +145,9 @@ class AdvancedFilter {
return commands;
}
_fieldNameToId(name)
_fieldNameToId(field)
{
CustomFields.find({name})._id;
CustomFields.find({'name':field})[0]._id;
}
_arrayToSelector(commands)