Skip to content

Commit

Permalink
sort rules files by ID
Browse files Browse the repository at this point in the history
  • Loading branch information
BeritJanssen committed Nov 20, 2023
1 parent da8a5bd commit b3fd795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/experiment/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def __init__(self, *args, **kwargs):
choices += ((i, EXPERIMENT_RULES[i].__name__),)

self.fields['rules'] = ChoiceField(
choices=choices
choices=sorted(choices)
)

self.fields['questions'] = TypedMultipleChoiceField(
Expand Down

0 comments on commit b3fd795

Please sign in to comment.