[COMPONENT][Group] Add orderBy to query, as otherwise the feed order is wrong
This commit is contained in:
parent
7463044971
commit
ba4230447e
@ -80,6 +80,7 @@ class GroupFeed extends FeedController
|
||||
WHERE act.object_type = 'note' AND act.id IN
|
||||
(SELECT att.activity_id FROM \Component\Notification\Entity\Notification AS att WHERE att.target_id = :id)
|
||||
)
|
||||
ORDER BY n.created DESC
|
||||
EOF, ['id' => $group->getId()]);
|
||||
|
||||
return [
|
||||
|
Loading…
Reference in New Issue
Block a user