small fix
This commit is contained in:
parent
43365e4592
commit
7a76b6d572
|
@ -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(fs) rescue "") + "</a>"}
|
pd_data << {"data_title" => "<a href='#{OrbitHelper.url_to_show(p.to_param)}'>" + (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