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