Fixing tasks order in user story detail

stable
Alejandro Alonso 2015-06-24 12:31:09 +02:00
parent 830b46c36f
commit 10b74afba3
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ RelatedTasksDirective = ($repo, $rs, $rootscope) ->
link = ($scope, $el, $attrs) ->
loadTasks = ->
return $rs.tasks.list($scope.projectId, null, $scope.usId).then (tasks) =>
$scope.tasks = tasks
$scope.tasks = _.sortBy(tasks, 'ref')
return tasks
$scope.$on "related-tasks:add", ->