changeset 145 | ead2a7e9f8be |
parent 144 | 4c6aa6c29dd7 |
child 155 | eb866ebb9f2e |
--- 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 = []