Closed
Description
Hi, everyone!
On page /metrics/product/type we have a bug with sorting list of top 10 product by bug severity.
The error lies in the fact that projects with 0 critical vulnerabilities are displayed at the beginning. After them, projects with the maximum number of errors are displayed (in the correct order).
Steps to reproduce the behavior:
- Go to '/metrics/product/type' (for example https://demo.defectdojo.org/metrics/product/type)
- Scroll down to "Metric Counts" block
- See bug
Expected behavior
Projects with zero values are shown at the end
Screenshots
Bad sorting when project BodgeIt have 0 critical issue. BodgeIt should be shown at the end
Good sorting when project BodgeIt have 1 critical issue.
Deployment method (select with an X
)
- Docker Compose
- Kubernetes
- GoDojo