small fix

This commit is contained in:
Harry Bomrah 2016-04-06 19:26:21 +08:00
parent 43365e4592
commit 7a76b6d572
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ class Patent
fields_to_show.collect do |t|
case t
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"
pd_data << {"data_title" => (p.publish_date.strftime("%Y/%m/%d") rescue "")}
when "application_date"