Commit 86a59a4a authored by Donald Cook's avatar Donald Cook

Added ancestor milestones to roadmaps

parent 410216a8
......@@ -3,11 +3,12 @@ query groupMilestonesEE(
$state: MilestoneStateEnum
$timeframe: Timeframe
$includeDescendants: Boolean
$includeAncestors: Boolean
) {
group(fullPath: $fullPath) {
id
name
milestones(state: $state, includeDescendants: $includeDescendants, timeframe: $timeframe) {
milestones(state: $state, includeDescendants: $includeDescendants, includeAncestors: $includeAncestors, timeframe: $timeframe) {
edges {
node {
id
......
......@@ -233,6 +233,7 @@ export const fetchGroupMilestones = (
timeframe: defaultTimeframe || timeframe,
}),
includeDescendants: true,
includeAncestors: true,
...filterParams,
};
......
......@@ -500,6 +500,7 @@ describe('Roadmap Vuex Actions', () => {
end: '2018-12-31',
},
includeDescendants: true,
includeAncestors: true,
};
});
......
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