diff --git a/app/controllers/personal_technology_transfers_controller.rb b/app/controllers/personal_technology_transfers_controller.rb index f2d9a81..330ccdd 100644 --- a/app/controllers/personal_technology_transfers_controller.rb +++ b/app/controllers/personal_technology_transfers_controller.rb @@ -65,7 +65,8 @@ class PersonalTechnologyTransfersController < ApplicationController "category", "patent_granted", "patent_number", - "authors" + "authors", + "category" ] {"plugin_datas"=>plugin.get_plugin_data(fields_to_show)} diff --git a/app/models/technology_transfer.rb b/app/models/technology_transfer.rb index 066fd2a..64081b7 100644 --- a/app/models/technology_transfer.rb +++ b/app/models/technology_transfer.rb @@ -93,7 +93,7 @@ class TechnologyTransfer def get_plugin_field_data(field) case field - when "technology_transfer_category" + when "technology_transfer_category", "category" value = self.technology_transfer_category.title rescue "" when "patent_granted" value = self.patent_granted ? I18n.t("personal_technology_transfer.y_es") : I18n.t("personal_technology_transfer.n_o")