From cef8c3cf32915d69ac76405ae99175c747060011 Mon Sep 17 00:00:00 2001 From: pengyin-shan Date: Wed, 23 Nov 2022 14:37:43 -0500 Subject: [PATCH] remove the extra Affiliation row in csv download --- app/models/concerns/exportable_plan.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/concerns/exportable_plan.rb b/app/models/concerns/exportable_plan.rb index 7936eaffd3..f754802a8d 100644 --- a/app/models/concerns/exportable_plan.rb +++ b/app/models/concerns/exportable_plan.rb @@ -161,7 +161,6 @@ def prepare_coversheet_for_csv(csv, _headings, hash) csv << [_('Contributor: '), format(_('%{other}'), other: hash[:other].map(&:name).join(', '))] end csv << [_('Affiliation: '), format(_('%{affiliation}'), affiliation: hash[:affiliation])] - csv << ['Affiliation: ', format(_('%{affiliation}'), affiliation: hash[:affiliation])] csv << if hash[:funder].present? [_('Template: '), format(_('%{funder}'), funder: hash[:funder])] else