Don#t group

This commit is contained in:
Michael 2020-05-06 15:27:13 +00:00
parent 22be2cce8a
commit 62a4638ea8

View file

@ -265,8 +265,7 @@ class Diaspora
} }
$items = Item::select(['author-id', 'author-link', 'parent-author-link'], $items = Item::select(['author-id', 'author-link', 'parent-author-link'],
['parent' => $item['parent'], 'gravity' => [GRAVITY_COMMENT, GRAVITY_ACTIVITY]], ['parent' => $item['parent'], 'gravity' => [GRAVITY_COMMENT, GRAVITY_ACTIVITY]]);
['group_by' => ['author-id']]);
while ($item = DBA::fetch($items)) { while ($item = DBA::fetch($items)) {
$contact = DBA::selectFirst('contact', ['id', 'url', 'name', 'protocol', 'batch', 'network'], $contact = DBA::selectFirst('contact', ['id', 'url', 'name', 'protocol', 'batch', 'network'],
['id' => $item['author-id']]); ['id' => $item['author-id']]);