fix: Filter by cards to find position

This commit fixes an error when WIP is displyed on the kanban column.
stable
Miguel Gonzalez 2018-08-06 09:20:04 +02:00 committed by Alex Hermida
parent d96e1f7d80
commit d68d71801c
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ KanbanSortableDirective = ($repo, $rs, $rootscope) ->
dragMultipleItems = [item]
firstElement = dragMultipleItems[0]
index = $(firstElement).index()
index = $(firstElement).index('.card')
newStatus = newParentScope.s.id
usList = _.map dragMultipleItems, (item) -> $(item).scope().us