Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix disordered columns in survey export #1232

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Stef-Rousset
Copy link

🎩 What? Why?

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

📌 Related Issues

Related to #decidim#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.

📋 Subtasks

  • Add tests

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request does not contain a valid label. Please add one of the following labels: ['type: feature', 'type: change', 'type: fix', 'type: removal', 'target: developer-experience', 'type: internal']

@Stef-Rousset Stef-Rousset marked this pull request as ready for review October 29, 2024 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant