Commit 6d3740ba authored by Sean McGivern's avatar Sean McGivern

Merge branch 'issue_325292' into 'master'

Deprecated lower case epic sort enum values

See merge request gitlab-org/gitlab!57157
parents a688c435 1c184159
...@@ -7485,10 +7485,14 @@ Roadmap sort values. ...@@ -7485,10 +7485,14 @@ Roadmap sort values.
| Value | Description | | Value | Description |
| ----- | ----------- | | ----- | ----------- |
| `end_date_asc` | End date at ascending order. | | `END_DATE_ASC` | Sort by end date in ascending order. |
| `end_date_desc` | End date at descending order. | | `END_DATE_DESC` | Sort by end date in descending order. |
| `start_date_asc` | Start date at ascending order. | | `START_DATE_ASC` | Sort by start date in ascending order. |
| `start_date_desc` | Start date at descending order. | | `START_DATE_DESC` | Sort by start date in descending order. |
| `end_date_asc` **{warning-solid}** | **Deprecated:** Use END_DATE_ASC. Deprecated in 13.11. |
| `end_date_desc` **{warning-solid}** | **Deprecated:** Use END_DATE_DESC. Deprecated in 13.11. |
| `start_date_asc` **{warning-solid}** | **Deprecated:** Use START_DATE_ASC. Deprecated in 13.11. |
| `start_date_desc` **{warning-solid}** | **Deprecated:** Use START_DATE_DESC. Deprecated in 13.11. |
### `EpicState` ### `EpicState`
......
...@@ -5,9 +5,16 @@ module Types ...@@ -5,9 +5,16 @@ module Types
graphql_name 'EpicSort' graphql_name 'EpicSort'
description 'Roadmap sort values' description 'Roadmap sort values'
value 'start_date_desc', 'Start date at descending order.', value: :start_date_desc # Deprecated, as we prefer uppercase enums
value 'start_date_asc', 'Start date at ascending order.', value: :start_date_asc # https://gitlab.com/groups/gitlab-org/-/epics/1838
value 'end_date_desc', 'End date at descending order.', value: :end_date_desc value 'start_date_desc', 'Start date at descending order.', value: :start_date_desc, deprecated: { reason: 'Use START_DATE_DESC', milestone: '13.11' }
value 'end_date_asc', 'End date at ascending order.', value: :end_date_asc value 'start_date_asc', 'Start date at ascending order.', value: :start_date_asc, deprecated: { reason: 'Use START_DATE_ASC', milestone: '13.11' }
value 'end_date_desc', 'End date at descending order.', value: :end_date_desc, deprecated: { reason: 'Use END_DATE_DESC', milestone: '13.11' }
value 'end_date_asc', 'End date at ascending order.', value: :end_date_asc, deprecated: { reason: 'Use END_DATE_ASC', milestone: '13.11' }
value 'START_DATE_DESC', 'Sort by start date in descending order.', value: :start_date_desc
value 'START_DATE_ASC', 'Sort by start date in ascending order.', value: :start_date_asc
value 'END_DATE_DESC', 'Sort by end date in descending order.', value: :end_date_desc
value 'END_DATE_ASC', 'Sort by end date in ascending order.', value: :end_date_asc
end end
end end
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