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

Departments list need to be displayed alphabetically #81

Open
gcharest opened this issue May 24, 2019 · 4 comments
Open

Departments list need to be displayed alphabetically #81

gcharest opened this issue May 24, 2019 · 4 comments
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
Milestone

Comments

@gcharest
Copy link
Member

Right now, I've used a lazy hack in that I sorted text values alphabetically in both languages in the JSON. The app still uses the ID value to store the data in the Survey.

This causes an issue if the user changes languages since the value still is based off the ID, not the content so the displayed text will change. Further more, if we want to have the exported JSON saves, this needs to be fixed.

@gcharest
Copy link
Member Author

Might be related to #20

@gcharest gcharest added the bug Something isn't working label May 24, 2019
@gcharest gcharest added this to To do in MVP via automation May 24, 2019
@gcharest gcharest added this to the MVP 0.8 milestone May 24, 2019
@gcharest gcharest modified the milestones: MVP 0.8, MVP 0.7 May 27, 2019
@gcharest
Copy link
Member Author

Partially fixed on d4a1dde using the builtin functionality.

Issue still remains though as the functionality is not supporting translated lists. Sorting will remain on default values so the French is not sorted alphabetically.

@gcharest
Copy link
Member Author

@gcharest
Copy link
Member Author

Typescript Select2: https://www.npmjs.com/package/@types/select2

@gcharest gcharest added the help wanted Extra attention is needed label Aug 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
MVP
  
To do
Development

No branches or pull requests

1 participant