personal plugin fixed
This commit is contained in:
parent
7a76b6d572
commit
c662fd0ab5
|
@ -88,7 +88,7 @@ class Patent
|
||||||
fields_to_show.collect do |t|
|
fields_to_show.collect do |t|
|
||||||
case t
|
case t
|
||||||
when "patent_title"
|
when "patent_title"
|
||||||
pd_data << {"data_title" => "<a href='#{OrbitHelper.url_to_show(p.to_param)}'>" + (p.send(t) rescue "") + "</a>"}
|
pd_data << {"data_title" => "<a href='#{OrbitHelper.url_to_plugin_show(p.to_param,'personal_patent')}'>" + (p.send(t) rescue "") + "</a>"}
|
||||||
when "publish_date"
|
when "publish_date"
|
||||||
pd_data << {"data_title" => (p.publish_date.strftime("%Y/%m/%d") rescue "")}
|
pd_data << {"data_title" => (p.publish_date.strftime("%Y/%m/%d") rescue "")}
|
||||||
when "application_date"
|
when "application_date"
|
||||||
|
|
Loading…
Reference in New Issue