OpenSourcePolitics / decidim

Fork of Decidim
http://www.decidim.org
GNU Affero General Public License v3.0
20 stars 4 forks source link

Fix disordered columns in survey export #1232

Open Stef-Rousset opened 3 weeks ago

Stef-Rousset commented 3 weeks ago

:tophat: What? Why?

When we export the answers to a survey, the questions are now ordered by position to avoid wrong order.

:pushpin: Related Issues

Related to #https://github.com/decidim/decidim/issues/13201

Testing

As an admin, go to a process, and add a new survey component (allow answers and multiple answers). Go to the edit of the survey and add questions, separators, titles and description... and save at the end. After save, modify the order of questions, add a new question..and save again. Publish the survey As a user, answer the survey. As an admin, go back to the edit of the survey and export the answers. See in the file that the columns are in good order.

:clipboard: Subtasks