소스 검색

Correcting not Filter

IgnatzHome 7 년 전
부모
커밋
256ca129f0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;