diff --git a/app/views/admin/journal_papers/download_excel.xlsx.axlsx b/app/views/admin/journal_papers/download_excel.xlsx.axlsx index 9fc5faa..2bf3f08 100644 --- a/app/views/admin/journal_papers/download_excel.xlsx.axlsx +++ b/app/views/admin/journal_papers/download_excel.xlsx.axlsx @@ -60,7 +60,7 @@ wb = xlsx_package.workbook sheet.add_row row, :style => heading data.each do |jp| - row = [jp.member_profile.name] + row = [(jp.member_profile_id.class == Array ? jp.member_profile_id.map{|member_id| MemberProfile.find(member_id).name rescue ""} : [jp.member_profile.name])] @site_in_use_locales.each do |locale| row << jp.paper_title_translations[locale.to_s] end