diff --git a/app/controllers/personal_patents_controller.rb b/app/controllers/personal_patents_controller.rb index 58aaed4..c68c49a 100644 --- a/app/controllers/personal_patents_controller.rb +++ b/app/controllers/personal_patents_controller.rb @@ -60,6 +60,8 @@ class PersonalPatentsController < ApplicationController t << {"value" => (patent.patent_types.collect{|pt| pt.title}.join(", ") rescue "")} when "author_type" t << {"value" => (patent.patent_author_types.collect{|pt| pt.title}.join(", ") rescue "")} + when "language" + t << {"value" => (!patent.language.nil? ? t("#{patent.language}") : "")} else t << {"value" => patent.send(fs)} end