summaryrefslogtreecommitdiff
path: root/app/services/boards
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2018-04-05 08:19:15 +0000
committerSean McGivern <sean@mcgivern.me.uk>2018-04-05 08:19:15 +0000
commit7412ad2e3680b7f7a18d89dd8e30f01b28c19326 (patch)
tree46be39c3b60be74563354beeaec8753f87f11a5c /app/services/boards
parentb87820c162cfa38678dfe2b56c41b41253122b3e (diff)
parent7481fc5aa8e7d6cee3e03480a6b7dd7a7d19307e (diff)
downloadgitlab-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.rb5
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