diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-21 00:14:18 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-21 00:14:18 +0300 |
commit | 76365117183054e95bbb2f3a6392ac333628eacf (patch) | |
tree | 579d45ed571d5f65ae0966e2b2badf91cb430cb1 /app/assets/javascripts/boards | |
parent | 39cb2fdf01699eb5ac000c918f469c58dc75f7e8 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/boards')
-rw-r--r-- | app/assets/javascripts/boards/graphql/group_board_milestones.query.graphql | 7 | ||||
-rw-r--r-- | app/assets/javascripts/boards/graphql/project_board_milestones.query.graphql | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/app/assets/javascripts/boards/graphql/group_board_milestones.query.graphql b/app/assets/javascripts/boards/graphql/group_board_milestones.query.graphql index 6fe8bb799d6..9e6c26063e9 100644 --- a/app/assets/javascripts/boards/graphql/group_board_milestones.query.graphql +++ b/app/assets/javascripts/boards/graphql/group_board_milestones.query.graphql @@ -1,7 +1,12 @@ query GroupBoardMilestones($fullPath: ID!, $searchTerm: String, $state: MilestoneStateEnum) { group(fullPath: $fullPath) { id - milestones(includeAncestors: true, searchTitle: $searchTerm, state: $state) { + milestones( + includeAncestors: true + searchTitle: $searchTerm + state: $state + sort: EXPIRED_LAST_DUE_DATE_ASC + ) { nodes { id title diff --git a/app/assets/javascripts/boards/graphql/project_board_milestones.query.graphql b/app/assets/javascripts/boards/graphql/project_board_milestones.query.graphql index d917c7e809d..02aa08f90ef 100644 --- a/app/assets/javascripts/boards/graphql/project_board_milestones.query.graphql +++ b/app/assets/javascripts/boards/graphql/project_board_milestones.query.graphql @@ -1,7 +1,12 @@ query ProjectBoardMilestones($fullPath: ID!, $searchTerm: String, $state: MilestoneStateEnum) { project(fullPath: $fullPath) { id - milestones(searchTitle: $searchTerm, includeAncestors: true, state: $state) { + milestones( + searchTitle: $searchTerm + includeAncestors: true + state: $state + sort: EXPIRED_LAST_DUE_DATE_ASC + ) { nodes { id title |