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
961332b4
Commit
961332b4
authored
May 07, 2020
by
Peter Leitzen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sorting alerts in GraphQL
parent
7bf9aef1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
app/graphql/types/alert_management/alert_sort_enum.rb
app/graphql/types/alert_management/alert_sort_enum.rb
+3
-3
doc/api/graphql/reference/gitlab_schema.graphql
doc/api/graphql/reference/gitlab_schema.graphql
+2
-2
doc/api/graphql/reference/gitlab_schema.json
doc/api/graphql/reference/gitlab_schema.json
+2
-2
No files found.
app/graphql/types/alert_management/alert_sort_enum.rb
View file @
961332b4
...
...
@@ -11,9 +11,9 @@ module Types
value
'END_TIME_ASC'
,
'End time by ascending order'
,
value: :end_time_asc
value
'END_TIME_DESC'
,
'End time by descending order'
,
value: :end_time_desc
value
'CREATED_TIME_ASC'
,
'Created time by ascending order'
,
value: :created_at_asc
value
'CREATED_TIME_DESC'
,
'Created time by
a
scending order'
,
value: :created_at_desc
value
'UPDATED_TIME_ASC'
,
'Created time by ascending order'
,
value: :updated_at_
de
sc
value
'UPDATED_TIME_DESC'
,
'Created time by
a
scending order'
,
value: :updated_at_desc
value
'CREATED_TIME_DESC'
,
'Created time by
de
scending order'
,
value: :created_at_desc
value
'UPDATED_TIME_ASC'
,
'Created time by ascending order'
,
value: :updated_at_
a
sc
value
'UPDATED_TIME_DESC'
,
'Created time by
de
scending order'
,
value: :updated_at_desc
value
'EVENTS_COUNT_ASC'
,
'Events count by ascending order'
,
value: :events_count_asc
value
'EVENTS_COUNT_DESC'
,
'Events count by descending order'
,
value: :events_count_desc
value
'SEVERITY_ASC'
,
'Severity by ascending order'
,
value: :severity_asc
...
...
doc/api/graphql/reference/gitlab_schema.graphql
View file @
961332b4
...
...
@@ -258,7 +258,7 @@ enum AlertManagementAlertSort {
CREATED_TIME_ASC
"""
Created
time
by
a
scending
order
Created
time
by
de
scending
order
"""
CREATED_TIME_DESC
...
...
@@ -318,7 +318,7 @@ enum AlertManagementAlertSort {
UPDATED_TIME_ASC
"""
Created
time
by
a
scending
order
Created
time
by
de
scending
order
"""
UPDATED_TIME_DESC
...
...
doc/api/graphql/reference/gitlab_schema.json
View file @
961332b4
...
...
@@ -786,7 +786,7 @@
},
{
"name"
:
"CREATED_TIME_DESC"
,
"description"
:
"Created time by
a
scending order"
,
"description"
:
"Created time by
de
scending order"
,
"isDeprecated"
:
false
,
"deprecationReason"
:
null
},
...
...
@@ -798,7 +798,7 @@
},
{
"name"
:
"UPDATED_TIME_DESC"
,
"description"
:
"Created time by
a
scending order"
,
"description"
:
"Created time by
de
scending order"
,
"isDeprecated"
:
false
,
"deprecationReason"
:
null
},
...
...
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