order groups by name
This commit is contained in:
parent
7fb9aa24fb
commit
dd4d5707b0
|
@ -161,7 +161,7 @@ $o .= <<< EOT
|
||||||
|
|
||||||
EOT;
|
EOT;
|
||||||
|
|
||||||
$r = q("SELECT * FROM `group` WHERE `deleted` = 0 AND `uid` = %d",
|
$r = q("SELECT * FROM `group` WHERE `deleted` = 0 AND `uid` = %d ORDER BY `name` ASC",
|
||||||
intval($_SESSION['uid'])
|
intval($_SESSION['uid'])
|
||||||
);
|
);
|
||||||
if(count($r)) {
|
if(count($r)) {
|
||||||
|
|
Loading…
Reference in a new issue