Unverified Commit 711f1202 authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

Fix ordering of RegistrationInformation fields

Closes #592
parent 25139a3b
from collections import OrderedDict
from django.utils import timezone
from django.utils.translation import ugettext_lazy as _, get_language
......@@ -166,7 +168,7 @@ def registration_fields(member, event):
if (event_permissions(member, event)["update_registration"] and
registration):
information_fields = registration.information_fields
fields = {}
fields = OrderedDict()
for information_field in information_fields:
field = information_field["field"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment