page - sort names

This commit is contained in:
friendica 2012-05-02 18:11:53 -07:00
parent 19bd973d40
commit 9a4c392760
3 changed files with 5 additions and 2 deletions

BIN
page.tgz

Binary file not shown.

View file

@ -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'];
} }
?>

BIN
pages.tgz

Binary file not shown.