Commit 2231f183 authored by Mark Chao's avatar Mark Chao

Merge branch 'deprecate_sorting_vulnerabilities_by_title' into 'master'

Deprecate sorting vulnerabilities by title in GraphQL API

See merge request gitlab-org/gitlab!66917
parents fb9a69b4 bc8dc2b0
...@@ -15637,8 +15637,8 @@ Vulnerability sort values. ...@@ -15637,8 +15637,8 @@ Vulnerability sort values.
| <a id="vulnerabilitysortseverity_desc"></a>`severity_desc` | Severity in descending order. | | <a id="vulnerabilitysortseverity_desc"></a>`severity_desc` | Severity in descending order. |
| <a id="vulnerabilitysortstate_asc"></a>`state_asc` | State in ascending order. | | <a id="vulnerabilitysortstate_asc"></a>`state_asc` | State in ascending order. |
| <a id="vulnerabilitysortstate_desc"></a>`state_desc` | State in descending order. | | <a id="vulnerabilitysortstate_desc"></a>`state_desc` | State in descending order. |
| <a id="vulnerabilitysorttitle_asc"></a>`title_asc` | Title in ascending order. | | <a id="vulnerabilitysorttitle_asc"></a>`title_asc` **{warning-solid}** | **Deprecated** in 14.2. Deprecated due to performance issues. |
| <a id="vulnerabilitysorttitle_desc"></a>`title_desc` | Title in descending order. | | <a id="vulnerabilitysorttitle_desc"></a>`title_desc` **{warning-solid}** | **Deprecated** in 14.2. Deprecated due to performance issues. |
### `VulnerabilityState` ### `VulnerabilityState`
......
...@@ -7,8 +7,13 @@ module Types ...@@ -7,8 +7,13 @@ module Types
value 'severity_desc', 'Severity in descending order.' value 'severity_desc', 'Severity in descending order.'
value 'severity_asc', 'Severity in ascending order.' value 'severity_asc', 'Severity in ascending order.'
value 'title_desc', 'Title in descending order.'
value 'title_asc', 'Title in ascending order.' value 'title_desc', 'Title in descending order.',
deprecated: { reason: 'Deprecated due to performance issues', milestone: '14.2' }
value 'title_asc', 'Title in ascending order.',
deprecated: { reason: 'Deprecated due to performance issues', milestone: '14.2' }
value 'detected_desc', 'Detection timestamp in descending order.' value 'detected_desc', 'Detection timestamp in descending order.'
value 'detected_asc', 'Detection timestamp in ascending order.' value 'detected_asc', 'Detection timestamp in ascending order.'
value 'report_type_desc', 'Report Type in descending order.' value 'report_type_desc', 'Report Type in descending order.'
......
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