summaryrefslogtreecommitdiffstats
path: root/client/lib
diff options
context:
space:
mode:
authorIgnatzHome <ignatz@maschath.de>2018-05-19 21:42:11 +0200
committerIgnatzHome <ignatz@maschath.de>2018-05-19 21:42:11 +0200
commit17fcfd36973125bec369b5e74d9db092e0d8b7e0 (patch)
treef78834e09dbf650c82c283215660a6f743e7d20b /client/lib
parent811ccf0f102ce4b82efa2136a387e4c9e6b94456 (diff)
downloadwekan-17fcfd36973125bec369b5e74d9db092e0d8b7e0.tar.gz
wekan-17fcfd36973125bec369b5e74d9db092e0d8b7e0.tar.bz2
wekan-17fcfd36973125bec369b5e74d9db092e0d8b7e0.zip
correcting _fieldNameToId(field);
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)