Skip to content

Commit

Permalink
#1426 Put on user-data-filtering for queryForDependentTypeDetails query.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nazar Chaykivskyy committed May 12, 2020
1 parent 8ec2a1b commit 5cfeeb8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public static QueryExecutionModel<EntityAggregates, AggregatedResultQueryModel>
yield().model(select(detailsType).where().prop(ID).eq().extProp(ID).model()).as("entity").
yield().expr(hasDependencies).as("hasDependencies").
modelAsAggregate();
qry.setFilterable(true);
return from(qry).with(fetchAggregates().with("hasDependencies").with("entity", fetchModel)).with(orderBy().prop("key").asc().model()).model();
}

Expand Down

0 comments on commit 5cfeeb8

Please sign in to comment.