Skip to content

Commit

Permalink
feat(core): add missing filter to properly calculate per bundle contents
Browse files Browse the repository at this point in the history
  • Loading branch information
cmark committed Feb 1, 2022
1 parent a08bbb9 commit 3faed64
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public void expand(RepositoryContext context, Options expand, List<ExtendedLocal
// allow expanding content via content expansion, for now hit count only
results.forEach(bundle -> {
final Resources resources = ResourceRequests.prepareSearch()
.filterByBundleAncestorId(bundle.getId())
.setLimit(0)
.build()
.execute(context);
Expand Down

0 comments on commit 3faed64

Please sign in to comment.