Fix link.

This commit is contained in:
BoHung Chiu 2022-12-15 18:18:41 +08:00
parent 0fae8917d2
commit 287614c4e6
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class Research
link = OrbitHelper.url_to_plugin_show(p.to_param,'personal_research')
url_to_plugin_show_blank = OrbitHelper.instance_variable_get(:@url_to_plugin_show_blank)
tmp_title = p.research_title
pd_data << { "data_title" => (url_to_plugin_show_blank ? tmp_title : "<a title=\"#{tmp_title}\" href=\"#{link}\" target=\"_blank\">#{tmp_title}") }
pd_data << { "data_title" => (url_to_plugin_show_blank ? tmp_title : "<a title=\"#{tmp_title}\" href=\"#{link}\" target=\"_blank\">#{tmp_title}</a>") }
elsif t == "research_category"
pd_data << {"data_title" => (p.research_category.title rescue "")}
else