The File and Directory facets' search doesn't pass any branch parameters, resulting in incorrect data being displayed. This is especially visible when the Main Branch has no analysis yet, and only another branch was analyzed. The same problem exists on PRs, and is also quite visible when the PR targets another branch, and the Main Branch has no analysis.
Directory and File facet searches use the /api/components/tree endpoint, but don't pass any branchLike parameters to the query. Hence, only results for the Main Branch are returned, which is incorrect.
Facet searches must also pass the branchLike as parameters to the query.