Removed filterWhere option

The correct place to set this option that triggers injection of
PARTITION BY clause is includeHasMany() in juggler.js.
This commit is contained in:
eugene-frb 2015-11-19 11:18:17 -08:00
parent ac52394746
commit 0cb12f085b
1 changed files with 0 additions and 4 deletions

View File

@ -1069,10 +1069,6 @@ SQLConnector.prototype.all = function find(model, filter, options, cb) {
return self.fromRow(model, obj); return self.fromRow(model, obj);
}); });
if (filter && filter.include) { if (filter && filter.include) {
if(filter.where) {
options.filterWhere = filter.where;
}
self.getModelDefinition(model).model.include( self.getModelDefinition(model).model.include(
objs, filter.include, options, cb); objs, filter.include, options, cb);
} else { } else {