summaryrefslogtreecommitdiffstats
path: root/client/lib
diff options
context:
space:
mode:
authorIgnatzHome <ignatz@maschath.de>2018-05-19 20:17:52 +0200
committerIgnatzHome <ignatz@maschath.de>2018-05-19 20:17:52 +0200
commit1d58e401338985b2c2dfa071d53c83b2c62e368d (patch)
treee61de536e0139ab22f86e91776e6c1f9c6f1d20c /client/lib
parentcd749bc38592d82d8c1dcfd5b0ad7c48909a576b (diff)
downloadwekan-1d58e401338985b2c2dfa071d53c83b2c62e368d.tar.gz
wekan-1d58e401338985b2c2dfa071d53c83b2c62e368d.tar.bz2
wekan-1d58e401338985b2c2dfa071d53c83b2c62e368d.zip
this took me way too long
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 eac23e47..b971e4e0 100644
--- a/client/lib/filter.js
+++ b/client/lib/filter.js
@@ -157,8 +157,8 @@ class AdvancedFilter {
case '==':
case '===':
{
- const field = commands[i-1];
- const str = commands[i+1];
+ const field = commands[i-1].cmd;
+ const str = commands[i+1].cmd;
commands[i] = {}[field]=str;
commands.splice(i-1, 1);
commands.splice(i, 1);