#601 - Second Nested filterMany not executed but joined

This commit is contained in:
Robin Bygrave
2016-03-14 23:54:34 +13:00
parent c40715733e
commit 5216014d50
2 changed files with 23 additions and 1 deletions
@@ -227,6 +227,7 @@ public class OrmQueryProperties implements Serializable {
*/
public void setFilterMany(SpiExpressionList<?> filterMany) {
this.filterMany = filterMany;
this.markForQueryJoin = true;
}
/**
@@ -269,7 +270,7 @@ public class OrmQueryProperties implements Serializable {
return true;
}
// explicitly selected some properties
return included != null;
return included != null || filterMany != null;
}
/**