This commit is contained in:
chiu 2020-08-10 19:31:55 +08:00
parent ba733f6680
commit 9a5a6f391b
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ class PersonalPatentsController < ApplicationController
keywords
note
]
@fields_to_show = @fields_to_show.map { |fs| t("personal_patent.#{fs}") }
@fields_to_show = @fields_to_show.map { |fs| [t("personal_patent.#{fs}"),fs] }
@default_fields_to_show = %w[
publish_date
patent_title