Remove special sorting behavior on vulnerability report
Problem
Noticed by @mvanremmerden in slack thread (internal link). The vulnerability report seems to be the only table on GitLab that preserves the sort direction when clicking on another column to sort. This is inconsistent with other tables and it would be better to have this special behavior removed.
Kapture_2024-03-03_at_11.24.11
Cause
The VulnerabilityList component uses a prop of BootstrapVue called sort-direction
and it's set to 'last'
which will:
"maintain the sorting direction of the previously sorted column." - see BootstrapVue docs
Fix
Remove this prop from the GlTable.
Edited by Lorenz van Herwaarden