summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorIgnatzHome <ignatz@maschath.de>2018-05-19 22:17:00 +0200
committerIgnatzHome <ignatz@maschath.de>2018-05-19 22:17:00 +0200
commit2bf13a50c4ad03b39b52257dd21e0be3d21dae8a (patch)
treeed5d19e156b3953bb6c36ac844d9dc4dee9ba315 /client
parent382b14ea275deb94c0f2f8d5564e050b034aca8b (diff)
downloadwekan-2bf13a50c4ad03b39b52257dd21e0be3d21dae8a.tar.gz
wekan-2bf13a50c4ad03b39b52257dd21e0be3d21dae8a.tar.bz2
wekan-2bf13a50c4ad03b39b52257dd21e0be3d21dae8a.zip
find to findOne
Diffstat (limited to 'client')
-rw-r--r--client/lib/filter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/lib/filter.js b/client/lib/filter.js
index 970aedea..3a174af6 100644
--- a/client/lib/filter.js
+++ b/client/lib/filter.js
@@ -148,7 +148,7 @@ class AdvancedFilter {
_fieldNameToId(field)
{
console.log("searching: "+field);
- const found = CustomFields.find({'name':field});
+ const found = CustomFields.findOne({'name':field});
console.log(found);
return found._id;
}