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

Exporting survey responses to match survey question order #400

Closed
mitchmoccia opened this issue Mar 15, 2021 · 4 comments
Closed

Exporting survey responses to match survey question order #400

mitchmoccia opened this issue Mar 15, 2021 · 4 comments

Comments

@mitchmoccia
Copy link

Hey @ryanwoldatwork I am working on standing up the Touchpoints site locally and was wondering if you had a couple suggestions or a dev readme that can help me achieve that. I've tried docker up -d and there are some errors I believe because I don't have the correct credentials for the database.

What we'd like to work on is the ordering of responses when you export to csv.

For example, if you have the survey questions
#1 Date
#1 Time
#1 Time Zone

#2 Date
#2 Time
#2 Time Zone
...

the current output makes it:
#1 Date
#2 Date
#1 Time
#2 Time
#1 Time Zone
#2 Time Zone

We'd like it to just be the same as the initial question ordering and not forced to be alphabetized when exporting.

Are you allowing for active development and pull requests, or do you have any suggestions how to achieve this quickly? Thanks a lot!
Mitch Moccia

@ryanwoldatwork
Copy link
Collaborator

Thanks @mitchmoccia, thanks for getting in touch.

Regarding the docs, I split that out into another Issue - #401.
I have verified the questions are sorting per how they're created vs. their display order, which is a bug.

@ryanwoldatwork
Copy link
Collaborator

ryanwoldatwork commented Mar 17, 2021

hi @mitchmoccia, please give this a try in the morning.

The .csv export should now order columns by Form Section then Question.position

Reference

a99a006

@mitchmoccia
Copy link
Author

mitchmoccia commented Mar 17, 2021

Awesome @ryanwoldatwork will give it a try, thanks a lot! Btw, will this be available to test in the production site?

@ryanwoldatwork
Copy link
Collaborator

@mitchmoccia - yes, please give this a try in production.

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

No branches or pull requests

2 participants