]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/GroupManager.php
New table "post-counts" to precalculate the counts
[friendica.git] / src / Content / GroupManager.php
index d7848b41bf0f5d5742ce451ce6c2b5ecbd4e3ba0..fc43080d90b5c52c809a339c0eddb906c4089f36 100644 (file)
@@ -78,7 +78,7 @@ class GroupManager
 
                $groupList = [];
 
-               $fields = ['id', 'url', 'name', 'micro', 'thumb', 'avatar', 'network', 'uid'];
+               $fields = ['id', 'url', 'alias', 'name', 'micro', 'thumb', 'avatar', 'network', 'uid'];
                $contacts = DBA::select('account-user-view', $fields, $condition, $params);
                if (!$contacts) {
                        return $groupList;
@@ -87,6 +87,7 @@ class GroupManager
                while ($contact = DBA::fetch($contacts)) {
                        $groupList[] = [
                                'url'   => $contact['url'],
+                               'alias' => $contact['alias'],
                                'name'  => $contact['name'],
                                'id'    => $contact['id'],
                                'micro' => $contact['micro'],