Fix issue 1275: Now the userstories are ordered by sprint_order
parent
9e698e40c5
commit
5391cf0d48
|
@ -134,7 +134,7 @@ class TaskboardController extends mixOf(taiga.Controller, taiga.PageMixin)
|
||||||
loadSprint: ->
|
loadSprint: ->
|
||||||
return @rs.sprints.get(@scope.projectId, @scope.sprintId).then (sprint) =>
|
return @rs.sprints.get(@scope.projectId, @scope.sprintId).then (sprint) =>
|
||||||
@scope.sprint = sprint
|
@scope.sprint = sprint
|
||||||
@scope.userstories = sprint.user_stories
|
@scope.userstories = _.sortBy(sprint.user_stories, "sprint_order")
|
||||||
return sprint
|
return sprint
|
||||||
|
|
||||||
loadTasks: ->
|
loadTasks: ->
|
||||||
|
|
Loading…
Reference in New Issue