Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
1c184159
Commit
1c184159
authored
Mar 22, 2021
by
Felipe Artur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deprecated lower case epic sort enum values
Use upper case enum values instead of lower case
parent
0a084a0c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
8 deletions
+19
-8
doc/api/graphql/reference/index.md
doc/api/graphql/reference/index.md
+8
-4
ee/app/graphql/types/epic_sort_enum.rb
ee/app/graphql/types/epic_sort_enum.rb
+11
-4
No files found.
doc/api/graphql/reference/index.md
View file @
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`
...
...
ee/app/graphql/types/epic_sort_enum.rb
View file @
1c184159
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment