add common connection count to suggestions
This commit is contained in:
parent
d78118e2b0
commit
dc2830755d
@ -90,7 +90,7 @@ function directory_content(&$a) {
|
||||
$common = array();
|
||||
$index = 0;
|
||||
foreach($r as $rr) {
|
||||
// $common[$rr['xchan_addr']] = $rr['total'];
|
||||
$common[$rr['xchan_addr']] = $rr['total'];
|
||||
$addresses[$rr['xchan_addr']] = $index++;
|
||||
}
|
||||
|
||||
|
@ -44,6 +44,7 @@ function suggest_content(&$a) {
|
||||
|
||||
$arr[] = array(
|
||||
'url' => chanlink_url($rr['xchan_url']),
|
||||
'common' => $rr['total'],
|
||||
'profile' => $rr['xchan_url'],
|
||||
'name' => $rr['xchan_name'],
|
||||
'photo' => $rr['xchan_photo_m'],
|
||||
|
Reference in New Issue
Block a user