summaryrefslogtreecommitdiffstats
path: root/client/lib
diff options
context:
space:
mode:
Diffstat (limited to 'client/lib')
-rw-r--r--client/lib/filter.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/lib/filter.js b/client/lib/filter.js
index 854ff446..2079d99a 100644
--- a/client/lib/filter.js
+++ b/client/lib/filter.js
@@ -145,9 +145,9 @@ class AdvancedFilter {
return commands;
}
- _fieldNameToId(name)
+ _fieldNameToId(field)
{
- CustomFields.find({name})._id;
+ CustomFields.find({'name':field})[0]._id;
}
_arrayToSelector(commands)