diff options
Diffstat (limited to 'app/services/boards')
-rw-r--r-- | app/services/boards/base_item_move_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/boards/base_item_move_service.rb b/app/services/boards/base_item_move_service.rb index 8bae810e676..9d711d83fd2 100644 --- a/app/services/boards/base_item_move_service.rb +++ b/app/services/boards/base_item_move_service.rb @@ -91,7 +91,7 @@ module Boards end def move_between_ids(move_params) - ids = [move_params[:move_after_id], move_params[:move_before_id]] + ids = [move_params[:move_before_id], move_params[:move_after_id]] .map(&:to_i) .map { |m| m > 0 ? m : nil } |