diff options
author | IgnatzHome <ignatz@maschath.de> | 2018-05-19 20:17:52 +0200 |
---|---|---|
committer | IgnatzHome <ignatz@maschath.de> | 2018-05-19 20:17:52 +0200 |
commit | 1d58e401338985b2c2dfa071d53c83b2c62e368d (patch) | |
tree | e61de536e0139ab22f86e91776e6c1f9c6f1d20c /client/lib | |
parent | cd749bc38592d82d8c1dcfd5b0ad7c48909a576b (diff) | |
download | wekan-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.js | 4 |
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); |