summaryrefslogtreecommitdiffstats
path: root/app/views/auto_completes/issues.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/auto_completes/issues.html.erb')
-rw-r--r--app/views/auto_completes/issues.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/auto_completes/issues.html.erb b/app/views/auto_completes/issues.html.erb
index e292bbaeb..35f9387a3 100644
--- a/app/views/auto_completes/issues.html.erb
+++ b/app/views/auto_completes/issues.html.erb
@@ -1,6 +1,6 @@
<%= raw @issues.map {|issue| {
'id' => issue.id,
- 'label' => "#{issue.tracker} ##{issue.id}: #{truncate issue.subject.to_s, :length => 60}",
+ 'label' => "#{issue.tracker} ##{issue.id}: #{issue.subject.to_s.truncate(60)}",
'value' => issue.id
}
}.to_json