ordering preference
This commit is contained in:
parent
9c4f69cf7f
commit
4c2a40ece8
|
@ -31,7 +31,7 @@ function page_getpage($uid,$randomise = false) {
|
||||||
|
|
||||||
$pagelist = array();
|
$pagelist = array();
|
||||||
|
|
||||||
$random = (($randomise) ? ' order by rand ' : ' order by name asc ');
|
$random = (($randomise) ? ' order by rand() ' : ' order by name asc ');
|
||||||
|
|
||||||
$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
|
||||||
|
|
Loading…
Reference in a new issue