ee-query-builder
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -380,4 +380,5 @@ !function(){ | ||
case 'array': | ||
filter.forEach(function(filterItem){ | ||
items.push(this._renderFilter(parameters, filterItem, (property === '_' ? (entity || property) : (property || entity)), entity)); | ||
filter.forEach(function(filterItem) { | ||
result = this._renderFilter(parameters, filterItem, (property === '_' ? (entity || property) : (property || entity)), entity); | ||
if (result !== undefined) items.push(result); | ||
}.bind(this)); | ||
@@ -394,3 +395,3 @@ return items.length ? ( items.length === 1 ? items[0] : '(' + items.join(filter.mode === 'and' ? ' AND ' : ' OR ') + ')' ) : ''; | ||
else { | ||
Object.keys(filter).forEach(function(name){ | ||
Object.keys(filter).forEach(function(name) { | ||
result = this._renderFilter(parameters, filter[name], name, property) | ||
@@ -397,0 +398,0 @@ if (result !== undefined) items.push(result); |
{ | ||
"name" : "ee-query-builder" | ||
, "description" : "query builder for ee-orm" | ||
, "version" : "0.2.4" | ||
, "version" : "0.2.5" | ||
, "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
21659
498