diff options
author | IgnatzHome <ignatz@maschath.de> | 2018-05-19 21:19:10 +0200 |
---|---|---|
committer | IgnatzHome <ignatz@maschath.de> | 2018-05-19 21:19:10 +0200 |
commit | 422424d21c2f286478e5ad3f104ce966301adda1 (patch) | |
tree | 4417ab3a1d623be20bcab06b58a21084c733ff45 /client/lib | |
parent | 0bdc7efc8b2e9b51298d69b30e9b93d20966de40 (diff) | |
download | wekan-422424d21c2f286478e5ad3f104ce966301adda1.tar.gz wekan-422424d21c2f286478e5ad3f104ce966301adda1.tar.bz2 wekan-422424d21c2f286478e5ad3f104ce966301adda1.zip |
fixing string detection in advanced filter
Diffstat (limited to 'client/lib')
-rw-r--r-- | client/lib/filter.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/client/lib/filter.js b/client/lib/filter.js index 70b6894b..bab04d48 100644 --- a/client/lib/filter.js +++ b/client/lib/filter.js @@ -119,7 +119,7 @@ class AdvancedFilter { } if (char === '\'') { - string = true; + string = !string; continue; } if (char === '\\') @@ -130,7 +130,6 @@ class AdvancedFilter { if (char === ' ' && !string) { commands.push({'cmd':current, string}); - string = false; current = ''; continue; } |