mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 18:25:58 +02:00
add comment
This commit is contained in:
parent
c7c83cfb56
commit
5d228768e6
1 changed files with 3 additions and 1 deletions
|
@ -414,7 +414,9 @@ class MemberExport(BaseExport):
|
||||||
)
|
)
|
||||||
.values(*shared_columns)
|
.values(*shared_columns)
|
||||||
)
|
)
|
||||||
|
# Adding a order_by increases output predictability.
|
||||||
|
# Doesn't matter as much for normal use, but makes tests easier.
|
||||||
|
# We should also just be ordering by default anyway.
|
||||||
members = permissions.union(invitations).order_by("email_display")
|
members = permissions.union(invitations).order_by("email_display")
|
||||||
return convert_queryset_to_dict(members, is_model=False)
|
return convert_queryset_to_dict(members, is_model=False)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue