Fix issue tg-4648: Epics display show only first 30 related user stories

stable
David Barragán Merino 2016-10-15 14:41:54 +02:00
parent d059b84671
commit 3d557eaf47
1 changed files with 12 additions and 5 deletions

View File

@ -45,6 +45,7 @@ Resource = (urlsService, http) ->
params = {
project: projectId
}
return http.get(url, params, httpOptions)
.then (result) ->
return Immutable.fromJS(result.data)
@ -52,13 +53,19 @@ Resource = (urlsService, http) ->
service.listInEpic = (epicIid) ->
url = urlsService.resolve("userstories")
params = {
'epic': epicIid,
'order_by': 'epic_order',
'include_tasks': true
httpOptions = {
headers: {
"x-disable-pagination": "1"
}
}
return http.get(url, params)
params = {
epic: epicIid,
order_by: 'epic_order',
include_tasks: true
}
return http.get(url, params, httpOptions)
.then (result) ->
return Immutable.fromJS(result.data)