forked from friendica/friendica-addons
page - sort names
This commit is contained in:
parent
19bd973d40
commit
9a4c392760
|
@ -24,7 +24,8 @@ function page_getpage($uid) {
|
||||||
$pagelist = array();
|
$pagelist = array();
|
||||||
|
|
||||||
$contacts = q("SELECT `id`, `url`, `name`, `micro`FROM `contact`
|
$contacts = q("SELECT `id`, `url`, `name`, `micro`FROM `contact`
|
||||||
WHERE `network`= 'dfrn' AND `forum` = 1 AND `uid` = %d",
|
WHERE `network`= 'dfrn' AND `forum` = 1 AND `uid` = %d
|
||||||
|
order by name asc ",
|
||||||
intval($uid)
|
intval($uid)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -57,4 +58,6 @@ function page_page_end($a,&$b) {
|
||||||
if (sizeof($contacts) > 0)
|
if (sizeof($contacts) > 0)
|
||||||
$a->page['aside'] = $page . $a->page['aside'];
|
$a->page['aside'] = $page . $a->page['aside'];
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue