Update research.rb add title

This commit is contained in:
wmcheng 2018-12-04 22:53:56 +08:00
parent fcad14c3d8
commit cb715732e7
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class Research
pd_data = []
fields_to_show.collect do |t|
if t == "research_title"
pd_data << { "data_title" => "<a href='#{OrbitHelper.url_to_plugin_show(p.to_param,'personal_research')}'>#{p.send(t)}" }
pd_data << { "data_title" => "<a href='#{OrbitHelper.url_to_plugin_show(p.to_param,'personal_research')}' title='#{p.send(t)}'>#{p.send(t)}" }
elsif t == "research_category"
pd_data << {"data_title" => (p.research_category.title rescue "")}
else