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

8 lines
203 B
Plaintext
Raw Normal View History

2013-08-01 10:33:49 +08:00
<%= raw @issues.map {|issue| {
'id' => issue.id,
'label' => "#{issue.tracker} ##{issue.id}: #{truncate issue.subject.to_s, :length => 60}",
'value' => issue.id
}
}.to_json
%>