diff options
author | IgnatzHome <ignatz@maschath.de> | 2018-05-20 14:03:48 +0200 |
---|---|---|
committer | IgnatzHome <ignatz@maschath.de> | 2018-05-20 14:03:48 +0200 |
commit | 256ca129f0301765ce1b2522c9e4aef68eda9e8c (patch) | |
tree | 6cf7014b159c713c1b7ddb94c3d2cdffdcb5c788 | |
parent | 6d9ac3ae488d66c4f2ce116f0861ad59faa49de2 (diff) | |
download | wekan-256ca129f0301765ce1b2522c9e4aef68eda9e8c.tar.gz wekan-256ca129f0301765ce1b2522c9e4aef68eda9e8c.tar.bz2 wekan-256ca129f0301765ce1b2522c9e4aef68eda9e8c.zip |
Correcting not Filter
-rw-r--r-- | client/lib/filter.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/lib/filter.js b/client/lib/filter.js index 73a0da99..18d95ebd 100644 --- a/client/lib/filter.js +++ b/client/lib/filter.js @@ -243,7 +243,7 @@ class AdvancedFilter { { const field = commands[i-1].cmd; const str = commands[i+1].cmd; - commands[i] = {$not: {'customFields._id':this._fieldNameToId(field), 'customFields.value':str}}; + commands[i] = {'customFields._id':this._fieldNameToId(field), 'customFields.value': { $not: str }}; commands.splice(i-1, 1); commands.splice(i, 1); //changed = true; |