diff options
author | IgnatzHome <ignatz@maschath.de> | 2018-05-19 21:54:20 +0200 |
---|---|---|
committer | IgnatzHome <ignatz@maschath.de> | 2018-05-19 21:54:20 +0200 |
commit | 382b14ea275deb94c0f2f8d5564e050b034aca8b (patch) | |
tree | d01e85b7c47fe15cde5e830a91abd3b1336e0e73 /client | |
parent | 17fcfd36973125bec369b5e74d9db092e0d8b7e0 (diff) | |
download | wekan-382b14ea275deb94c0f2f8d5564e050b034aca8b.tar.gz wekan-382b14ea275deb94c0f2f8d5564e050b034aca8b.tar.bz2 wekan-382b14ea275deb94c0f2f8d5564e050b034aca8b.zip |
debugging _fieldNameToId
Diffstat (limited to 'client')
-rw-r--r-- | client/lib/filter.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/lib/filter.js b/client/lib/filter.js index 2079d99a..970aedea 100644 --- a/client/lib/filter.js +++ b/client/lib/filter.js @@ -147,7 +147,10 @@ class AdvancedFilter { _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) |