Merge branch 'master' into stable

stable
Miguel Gonzalez 2018-03-15 15:30:18 +01:00
commit 6235a497de
3 changed files with 11 additions and 5 deletions

View File

@ -1,4 +1,10 @@
# Changelog # # Changelog
## 3.2.2 (2018-03-15)
### Misc
- Minor bug fixes.
## 3.2.1 (2018-03-08) ## 3.2.1 (2018-03-08)

View File

@ -308,7 +308,7 @@ class KanbanController extends mixOf(taiga.Controller, taiga.PageMixin, taiga.Fi
data = @kanbanUserstoriesService.move(usList, newStatusId, index) data = @kanbanUserstoriesService.move(usList, newStatusId, index)
promise = @rs.userstories.bulkUpdateKanbanOrder(@scope.projectId, data.bulkOrders) promise = @rs.userstories.bulkUpdateKanbanOrder(@scope.projectId, newStatusId, data.bulkOrders)
promise.then () => promise.then () =>
# saving # saving

View File

@ -107,9 +107,9 @@ resourceProvider = ($repo, $http, $urls, $storage, $q) ->
params = {project_id: projectId, milestone_id: milestoneId, bulk_stories: data} params = {project_id: projectId, milestone_id: milestoneId, bulk_stories: data}
return $http.post(url, params) return $http.post(url, params)
service.bulkUpdateKanbanOrder = (projectId, data) -> service.bulkUpdateKanbanOrder = (projectId, statusId, data) ->
url = $urls.resolve("bulk-update-us-kanban-order") url = $urls.resolve("bulk-update-us-kanban-order")
params = {project_id: projectId, bulk_stories: data} params = {project_id: projectId, status_id: statusId, bulk_stories: data}
return $http.post(url, params) return $http.post(url, params)
service.listValues = (projectId, type) -> service.listValues = (projectId, type) ->