Explorar el Código

correcting return type from constructed

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

+ 1 - 1
client/lib/filter.js

@@ -172,7 +172,7 @@ class AdvancedFilter {
       }
     }
     catch (e){return { $in: [] };}
-    return commands;
+    return {$or: commands};
   }
 
   _getMongoSelector() {