Sort alias addresses in Account.getAliases() / vmm userinfo.
--- a/VirtualMailManager/Account.py Sat Sep 05 18:46:33 2009 +0000
+++ b/VirtualMailManager/Account.py Mon Sep 07 04:40:33 2009 +0000
@@ -205,7 +205,7 @@
dbc = self._dbh.cursor()
dbc.execute("SELECT address ||'@'|| domainname FROM alias, domain_name\
WHERE destination = %s AND domain_name.gid = alias.gid\
- AND domain_name.is_primary", str(self._addr))
+ AND domain_name.is_primary ORDER BY address", str(self._addr))
addresses = dbc.fetchall()
dbc.close()
aliases = []