Force export order.

see #832
This commit is contained in:
Antoine Nguyen
2016-03-09 10:47:20 +01:00
parent a92a3724da
commit 358c4fe1a4
+4 -1
View File
@@ -147,7 +147,10 @@ class Alias(AdminObject):
@property
def recipients(self):
"""Return the recipient list."""
return self.aliasrecipient_set.values_list("address", flat=True)
return (
self.aliasrecipient_set.order_by("address")
.values_list("address", flat=True)
)
@property
def recipients_count(self):