summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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;