Skip to content

Fix scanner filter not working when report type has no scanner IDs

Daniel Tian requested to merge 331623-fix-scanner-filter-not-working into master

What does this MR do?

On the vulnerability report, there's a scanner filter dropdown:

ksnip_20210526-011354

Previously, if there are no scanner IDs for one of the shown options, clicking the option will cause the vulnerability list to show all vulnerabilities. This MR fixes it by showing the "your filter produced no results" message:

ksnip_20210526-012041 ksnip_20210526-011944

Please watch this video for a technical explanation on why this happens:

Untitled

and this video on why this solution was chosen:

Untitled

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #331623 (closed)

Edited by Daniel Tian

Merge request reports

Loading