Updated.
This commit is contained in:
parent
27ec362281
commit
14fe94400a
|
@ -62,7 +62,7 @@ class PersonalHonorsController < ApplicationController
|
||||||
def show
|
def show
|
||||||
params = OrbitHelper.params
|
params = OrbitHelper.params
|
||||||
plugin = Honor.where(:is_hidden=>false).find_by(uid: params[:uid].to_s)
|
plugin = Honor.where(:is_hidden=>false).find_by(uid: params[:uid].to_s)
|
||||||
fields_to_show = ["year", "award_date", "award_name", "country", "ranking", "awarding_body", "awarding_unit", "member_profile"]
|
fields_to_show = ["year", "award_date", "award_name", "country", "ranking", "honor_type.title", "awarding_body", "awarding_unit", "member_profile"]
|
||||||
{"plugin_datas"=>plugin.get_plugin_data(fields_to_show)}
|
{"plugin_datas"=>plugin.get_plugin_data(fields_to_show)}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue