-
Bug
-
Resolution: Done
-
Major
-
None
-
None
When we have more than 3 Platform projects and display "All projects" on "Platform" project Breakdown page - all Openshift projects are listed (instead of just Platform projects).
It seems that the api call used by UI misses filter[category]=Platform&filter[project]=applied_filters
/api/cost-management/v1/reports/openshift/costs/?currency=USD&filter[project]=*&filter[resolution]=monthly&filter[time_scope_units]=month&filter[time_scope_value]=-1&group_by[project]=*
Steps to reproduce:
stage beta, cost-qe-admin-02 user
1. navigate to Openshift Details page
2. click on "Sum Platform cost" toggle to collapse Platform projects
3. click on "Platform" projects
The "Cost by default projects" card lists correct top 3 Platform projects
4. click on "View all projects" at the bottom of this card (all_platform_projects.png)
All projects, instead of just Platform projects, are shown (unexpected)
5. check the api request in network console
You will see that the corresponding api request misses filter[category]=Platform