diff options
author | Go MAEDA <maeda@farend.jp> | 2020-05-14 13:40:59 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2020-05-14 13:40:59 +0000 |
commit | 302f9bbc762dd06abf8c9a98f38090aac85471b4 (patch) | |
tree | c10ae8a4064fbd0d135dcde73ee8dff35413c112 /app/controllers/auto_completes_controller.rb | |
parent | dd9fa9c9a7850a38780552c93901839909dbdc47 (diff) | |
download | redmine-302f9bbc762dd06abf8c9a98f38090aac85471b4.tar.gz redmine-302f9bbc762dd06abf8c9a98f38090aac85471b4.zip |
Reverts r19773 (#32125).
The purpose of reverting is to revert r19769 on which r19773 depends.
git-svn-id: http://svn.redmine.org/redmine/trunk@19775 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/auto_completes_controller.rb')
-rw-r--r-- | app/controllers/auto_completes_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/auto_completes_controller.rb b/app/controllers/auto_completes_controller.rb index 3b87d9e81..c0a0c242a 100644 --- a/app/controllers/auto_completes_controller.rb +++ b/app/controllers/auto_completes_controller.rb @@ -56,7 +56,7 @@ class AutoCompletesController < ApplicationController issues.map {|issue| { 'id' => issue.id, - 'label' => "#{issue.tracker} ##{issue.id}: #{issue.subject.to_s.truncate(255)}", + 'label' => "#{issue.tracker} ##{issue.id}: #{issue.subject.to_s.truncate(60)}", 'value' => issue.id } } |