Commit 5ebfde5b authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '285440-roadmap-epics-limit-improvements' into 'master'

Add limit to epics requested from backend on Roadmap

See merge request gitlab-org/gitlab!52154
parents e716fbf4 00c4ae28
...@@ -11,6 +11,7 @@ query groupEpics( ...@@ -11,6 +11,7 @@ query groupEpics(
$milestoneTitle: String = "" $milestoneTitle: String = ""
$confidential: Boolean $confidential: Boolean
$search: String = "" $search: String = ""
$first: Int = 1001
) { ) {
group(fullPath: $fullPath) { group(fullPath: $fullPath) {
id id
...@@ -25,6 +26,7 @@ query groupEpics( ...@@ -25,6 +26,7 @@ query groupEpics(
milestoneTitle: $milestoneTitle milestoneTitle: $milestoneTitle
confidential: $confidential confidential: $confidential
search: $search search: $search
first: $first
) { ) {
edges { edges {
node { node {
......
...@@ -45,6 +45,7 @@ const fetchGroupEpics = ( ...@@ -45,6 +45,7 @@ const fetchGroupEpics = (
variables = { variables = {
...variables, ...variables,
...filterParams, ...filterParams,
first: gon.roadmap_epics_limit + 1,
}; };
} }
......
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