diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2018-04-05 08:19:15 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2018-04-05 08:19:15 +0000 |
commit | 7412ad2e3680b7f7a18d89dd8e30f01b28c19326 (patch) | |
tree | 46be39c3b60be74563354beeaec8753f87f11a5c /app/services/boards | |
parent | b87820c162cfa38678dfe2b56c41b41253122b3e (diff) | |
parent | 7481fc5aa8e7d6cee3e03480a6b7dd7a7d19307e (diff) | |
download | gitlab-ce-7412ad2e3680b7f7a18d89dd8e30f01b28c19326.tar.gz |
Merge branch 'issue_44551' into 'master'
Fix 404 in group boards when moving issue between lists
Closes #44551
See merge request gitlab-org/gitlab-ce!18064
Diffstat (limited to 'app/services/boards')
-rw-r--r-- | app/services/boards/issues/move_service.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/services/boards/issues/move_service.rb b/app/services/boards/issues/move_service.rb index 15fed7d17c1..3ceab209f3f 100644 --- a/app/services/boards/issues/move_service.rb +++ b/app/services/boards/issues/move_service.rb @@ -42,7 +42,10 @@ module Boards ) end - attrs[:move_between_ids] = move_between_ids if move_between_ids + if move_between_ids + attrs[:move_between_ids] = move_between_ids + attrs[:board_group_id] = board.group&.id + end attrs end |