Skip to content

Fix default dependency list sort order icon

Adam Cohen requested to merge fix-default-dependency-list-sort-order into master

What does this MR do?

This MR fixes the default sort order for the dependency list page. It was previously showing the default sort order to be ascending by vulnerability severity level, yet the actual sort order was descending.

What are the relevant issues numbers?

#332653 (closed)

Screenshots (strongly suggested)

Before change

Sort order icon incorrectly shows ascending order for Severity, when they're actually sorted in descending order:

image

After change

Sort order icon now correctly shows descending order for Severity:

image

Caveats

The descending sort order and icon for the default Severity type is correct, however, it now defaults to descending for both the Component name and Packager types, which is probably not ideal:

image

This has been discussed here and it was decided that this will be addressed in this follow-up issue Add support for multiple default sort orders in dependency list page

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Adam Cohen

Merge request reports