Redmine/app/views/auto_completes/issues.html.erb

8 lines
203 B
Plaintext
Raw Normal View History

<%= raw @issues.map {|issue| {
'id' => issue.id,
'label' => "#{issue.tracker} ##{issue.id}: #{truncate issue.subject.to_s, :length => 60}",
'value' => issue.id
}
}.to_json
%>