Skip to content

Remove sort direction sync between columns on vulnerability report

What does this MR do and why?

Related #444290 (closed)

This removes the behavior that the sort direction is maintained between different columns on the vulnerability report. This seems to be the only table that has this behavior, so removing it will bring more consistency in sorting UX.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
before after

How to set up and validate locally

Prerequisites

  1. You need an EE license
  2. You need to have runners enabled (See $2408961 for setting up a runner)
  3. Import https://gitlab.com/gitlab-examples/security/security-reports
  4. Run a pipeline on master

Validate

  1. Go to vulnerability report of security reports
  2. Click on Severity/Detected columns to validate the behavior

Merge request reports