summaryrefslogtreecommitdiff
path: root/app/services/issues
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2017-02-28 19:52:42 +0200
committerValery Sizov <valery@gitlab.com>2017-02-28 19:52:42 +0200
commit3b69196a496cabd8abdb1762f321875599f84465 (patch)
treec664d59951e70a74b1dcc0dd576d731dba276fea /app/services/issues
parent800f2a722f2aac42aee85fde44311b201eaa9589 (diff)
downloadgitlab-ce-3b69196a496cabd8abdb1762f321875599f84465.tar.gz
[Issue Board Sorting] Set position for newly created issues
Diffstat (limited to 'app/services/issues')
-rw-r--r--app/services/issues/create_service.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/issues/create_service.rb b/app/services/issues/create_service.rb
index 366b3572738..85b6eb3fe3d 100644
--- a/app/services/issues/create_service.rb
+++ b/app/services/issues/create_service.rb
@@ -13,6 +13,7 @@ module Issues
def before_create(issue)
spam_check(issue, current_user)
+ issue.move_to_end
end
def after_create(issuable)