Explorar el Código

Correcting not Filter

IgnatzHome hace 7 años
padre
commit
256ca129f0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      client/lib/filter.js

+ 1 - 1
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;