Commit bc8dc2b0 authored by Oghenerukevwe Kofi's avatar Oghenerukevwe Kofi

Deprecate sorting vulnerabilities by title in GraphQL API

In order to improve performance and user experience of our vulnerability report pages,
the ability to sort vulnerabilities by title with the GraphQL API is being deprecated and removed

Changelog: deprecated
EE: true
parent 909ab4b1
...@@ -15480,8 +15480,8 @@ Vulnerability sort values. ...@@ -15480,8 +15480,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