mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
correcting _fieldNameToId(field);
This commit is contained in:
parent
811ccf0f10
commit
17fcfd3697
1 changed files with 2 additions and 2 deletions
|
@ -145,9 +145,9 @@ class AdvancedFilter {
|
|||
return commands;
|
||||
}
|
||||
|
||||
_fieldNameToId(name)
|
||||
_fieldNameToId(field)
|
||||
{
|
||||
CustomFields.find({name})._id;
|
||||
CustomFields.find({'name':field})[0]._id;
|
||||
}
|
||||
|
||||
_arrayToSelector(commands)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue