Browse code

Sortiere die √úbersicht der Mailinglisten alphabetisch

Bernd Wurst authored on 08/08/2017 09:02:49
Showing 1 changed files
... ...
@@ -22,7 +22,7 @@ require_once('inc/security.php');
22 22
 function get_lists()
23 23
 {
24 24
   $uid = (int) $_SESSION['userinfo']['uid'];
25
-  $result = db_query("SELECT id, status, listname, fqdn, admin, archivesize FROM mail.v_mailman_lists WHERE owner=?", array($uid));
25
+  $result = db_query("SELECT id, status, listname, fqdn, admin, archivesize FROM mail.v_mailman_lists WHERE owner=? ORDER BY listname", array($uid));
26 26
   $ret = array();
27 27
   while ($list = $result->fetch())
28 28
     $ret[] = $list;