diff options
author | Valery Sizov <valery@gitlab.com> | 2017-03-03 20:10:07 +0200 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2017-03-03 20:23:33 +0200 |
commit | 32538def144f88a68c5cdfbe7cb7cb2866bce932 (patch) | |
tree | 77b71c3be17d359e92b5da1de44c6bbfe34f7fd4 /app/services/boards/issues | |
parent | 39db04bb17aa4ddb02290e4681d394190adb7e3c (diff) | |
download | gitlab-ce-32538def144f88a68c5cdfbe7cb7cb2866bce932.tar.gz |
[Issue sorting on board] Addressing review issues
Diffstat (limited to 'app/services/boards/issues')
-rw-r--r-- | app/services/boards/issues/move_service.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/services/boards/issues/move_service.rb b/app/services/boards/issues/move_service.rb index a946a42a116..2a9981ab884 100644 --- a/app/services/boards/issues/move_service.rb +++ b/app/services/boards/issues/move_service.rb @@ -68,11 +68,9 @@ module Boards end def move_between_iids - move_after_iid = params[:move_after_iid] - move_before_iid = params[:move_before_iid] - return unless move_after_iid || move_before_iid + return unless params[:move_after_iid] || params[:move_before_iid] - [move_after_iid, move_before_iid] + [params[:move_after_iid], params[:move_before_iid]] end end end |