From 9a5a6f391b1bd9d4ec7fae7ca000806a2ecd038e Mon Sep 17 00:00:00 2001 From: chiu Date: Mon, 10 Aug 2020 19:31:55 +0800 Subject: [PATCH] Fix bug. --- app/controllers/personal_patents_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/personal_patents_controller.rb b/app/controllers/personal_patents_controller.rb index 5d4075b..565c4d1 100644 --- a/app/controllers/personal_patents_controller.rb +++ b/app/controllers/personal_patents_controller.rb @@ -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