ee-query-builder
Advanced tools
Comparing version 0.1.10 to 0.1.11
@@ -310,5 +310,5 @@ !function(){ | ||
var items = [] | ||
, result | ||
, id; | ||
switch (type(filter)) { | ||
@@ -324,5 +324,6 @@ case 'array': | ||
Object.keys(filter).forEach(function(name){ | ||
items.push(this._renderFilter(parameters, filter[name], name, property)); | ||
result = this._renderFilter(parameters, filter[name], name, property) | ||
if (result !== undefined) items.push(result); | ||
}.bind(this)); | ||
return items.length ? ( items.length === 1 ? items[0] : '(' + items.join(' AND ') + ')' ): ''; | ||
return items.length ? ( items.length === 1 ? items[0] : '(' + items.join(' AND ') + ')' ): undefined; | ||
@@ -329,0 +330,0 @@ |
{ | ||
"name" : "ee-query-builder" | ||
, "description" : "query builder for ee-orm" | ||
, "version" : "0.1.10" | ||
, "version" : "0.1.11" | ||
, "homepage" : "https://github.com/eventEmitter/ee-query-builder" | ||
@@ -6,0 +6,0 @@ , "author" : "Michael van der Weg <michael@eventemitter.com> (http://eventemitter.com/)" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17000
388