Skip to content

Commit

Permalink
Fix Country Sorting on Survey in Spanish
Browse files Browse the repository at this point in the history
  • Loading branch information
cassidysymons authored Jun 4, 2021
1 parent 4a4ecbe commit 9974937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion microsetta_private_api/repo/survey_template_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def get_survey_template(self, survey_id, language_tag):

# Quick fix to correctly sort country names in Spanish
if language_tag == localization.ES_MX and \
(question_id == 110 or question_id == 148):
(question_id == 110 or question_id == 148):
responses[1:len(responses)] = \
sorted(responses[1:len(responses)])

Expand Down

0 comments on commit 9974937

Please sign in to comment.