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
eea29c00
Commit
eea29c00
authored
Aug 03, 2020
by
Olena Horal-Koretska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change incidents list query to search by issue_type
parent
fbcd3261
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/assets/javascripts/incidents/components/incidents_list.vue
...ssets/javascripts/incidents/components/incidents_list.vue
+1
-1
app/assets/javascripts/incidents/graphql/queries/get_incidents.query.graphql
...pts/incidents/graphql/queries/get_incidents.query.graphql
+2
-2
No files found.
app/assets/javascripts/incidents/components/incidents_list.vue
View file @
eea29c00
...
...
@@ -92,7 +92,7 @@ export default {
searchTerm
:
this
.
searchTerm
,
state
:
this
.
stateFilter
,
projectPath
:
this
.
projectPath
,
labelNames
:
[
'
incident
'
],
issueTypes
:
[
'
INCIDENT
'
],
firstPageSize
:
this
.
pagination
.
firstPageSize
,
lastPageSize
:
this
.
pagination
.
lastPageSize
,
prevPageCursor
:
this
.
pagination
.
prevPageCursor
,
...
...
app/assets/javascripts/incidents/graphql/queries/get_incidents.query.graphql
View file @
eea29c00
query
getIncidents
(
$projectPath
:
ID
!
$
labelNames
:
[
String
]
$
issueTypes
:
[
IssueType
!
]
$state
:
IssuableState
$firstPageSize
:
Int
$lastPageSize
:
Int
...
...
@@ -12,7 +12,7 @@ query getIncidents(
issues
(
search
:
$searchTerm
state
:
$state
labelName
:
$labelNam
es
types
:
$issueTyp
es
first
:
$firstPageSize
last
:
$lastPageSize
after
:
$nextPageCursor
...
...
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