From e71d9c683cd2556dac93a66b84829479e075bc44 Mon Sep 17 00:00:00 2001 From: Tocho Tochev Date: Sat, 7 Oct 2023 07:17:11 +0000 Subject: [PATCH] Add notes to export --- app/views/management/events/index.csv.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/management/events/index.csv.erb b/app/views/management/events/index.csv.erb index f288576..2ee383c 100644 --- a/app/views/management/events/index.csv.erb +++ b/app/views/management/events/index.csv.erb @@ -1,5 +1,5 @@ -<%- csv_headers = %w{id title subtitle type track language paticipants length status rank number_of_votes} -%> +<%- csv_headers = %w{id title subtitle type track language paticipants length status rank number_of_votes proposer_notes} -%> <%= CSV.generate_line(csv_headers).html_safe -%> <%- @events.each do |event| -%> - <%= CSV.generate_line([event.id, event.title, event.subtitle, event.event_type.name, event.track.name, event.language, participant_names_with_emails(event).join(', '), event.length, event.status, event.rank, event.number_of_votes]).html_safe -%> + <%= CSV.generate_line([event.id, event.title, event.subtitle, event.event_type.name, event.track.name, event.language, participant_names_with_emails(event).join(', '), event.length, event.status, event.rank, event.number_of_votes, event.notes]).html_safe -%> <%- end -%>