debugging _fieldNameToId

This commit is contained in:
IgnatzHome 2018-05-19 21:54:20 +02:00
parent 17fcfd3697
commit 382b14ea27

View file

@ -147,7 +147,10 @@ class AdvancedFilter {
_fieldNameToId(field) _fieldNameToId(field)
{ {
CustomFields.find({'name':field})[0]._id; console.log("searching: "+field);
const found = CustomFields.find({'name':field});
console.log(found);
return found._id;
} }
_arrayToSelector(commands) _arrayToSelector(commands)