The network widget is now ordered by network name
This commit is contained in:
parent
e1c7c2b092
commit
dd685a4afc
|
@ -50,7 +50,7 @@ function networks_widget($baseurl,$selected = '') {
|
|||
if(! feature_enabled(local_user(),'networks'))
|
||||
return '';
|
||||
|
||||
$r = q("select distinct(network) from contact where uid = %d and self = 0",
|
||||
$r = q("SELECT DISTINCT(`network`) FROM `contact` WHERE `uid` = %d AND `self` = 0 ORDER BY `network`",
|
||||
intval(local_user())
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue