Correct ordering of badges

This commit is contained in:
Christopher Neugebauer 2017-01-15 12:20:14 +11:00
parent 8ebb371a67
commit be0d04c9c4

View file

@ -443,9 +443,10 @@ class InvoicesWithProductAndStatusForm(forms.Form):
)
qs = qs.select_related("user__attendee__attendeeprofilebase")
qs = qs.order_by("id")
self.fields['invoice'].queryset = qs
self.fields['invoice'].initial = [i.id for i in qs]
#self.fields['invoice'].initial = [i.id for i in qs] # UNDO THIS LATER
class InvoiceEmailForm(InvoicesWithProductAndStatusForm):