Commit bf0849ac authored by Adam Cohen's avatar Adam Cohen Committed by Matthias Käppler

Fix sorting bug in dependency list

Changelog: changed
EE: true
parent 65d333c0
......@@ -55,7 +55,7 @@ module Security
when 'packager'
collection.sort_by! { |a| a[:packager] }
when 'severity'
sort_dependency_vulnerabilities_by_severity!(collection) if Feature.enabled?(:sort_dependency_vulnerabilities, @pipeline.project)
sort_dependency_vulnerabilities_by_severity!(collection) if Feature.enabled?(:sort_dependency_vulnerabilities, @pipeline.project, default_enabled: true)
sort_dependencies_by_severity!(collection)
else
collection.sort_by! { |a| a[:name] }
......
......@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/332852
milestone: '14.0'
type: development
group: group::composition analysis
default_enabled: false
default_enabled: true
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment