Commit 3112aacb8e4146bded8a5f4ea89d712d3176eada

Authored by Dhruv Kapadia
1 parent 74c709c7

Minor change in item csv export

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/controllers/questions_controller.rb
@@ -172,7 +172,7 @@ class QuestionsController < InheritedResources::Base @@ -172,7 +172,7 @@ class QuestionsController < InheritedResources::Base
172 @question = Question.find(params[:id], :include => [:choices, :prompts]) 172 @question = Question.find(params[:id], :include => [:choices, :prompts])
173 173
174 outfile = "ideamarketplace_#{@question.id}_ideas_" + Time.now.strftime("%m-%d-%Y") + ".csv" 174 outfile = "ideamarketplace_#{@question.id}_ideas_" + Time.now.strftime("%m-%d-%Y") + ".csv"
175 - headers = ['Ideamarketplace ID','Idea ID', 'Idea', 'Wins', 'Losses', 'Score','User Submitted', 'Idea Creator ID', 175 + headers = ['Ideamarketplace ID','Idea ID', 'Idea Text', 'Wins', 'Losses', 'Score','User Submitted', 'Idea Creator ID',
176 'Created at', 'Last Activity', 'Active', 'Local Identifier', 176 'Created at', 'Last Activity', 'Active', 'Local Identifier',
177 'Prompts on Left', 'Prompts on Right', 'Prompts Count'] 177 'Prompts on Left', 'Prompts on Right', 'Prompts Count']
178 178