mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Merge pull request #32241 from nextcloud/revert-32239-revert-32214-backport/32212/stable24
Revert "Revert "[stable24] Make the order of reactions reliable""
This commit is contained in:
commit
2232ff3eb1
1 changed files with 1 additions and 0 deletions
|
|
@ -1269,6 +1269,7 @@ class Manager implements ICommentsManager {
|
|||
->where($totalQuery->expr()->eq('r.parent_id', $qb->createNamedParameter($parentId)))
|
||||
->groupBy('r.reaction')
|
||||
->orderBy('total', 'DESC')
|
||||
->addOrderBy('r.reaction', 'ASC')
|
||||
->setMaxResults(20);
|
||||
|
||||
$jsonQuery = $this->dbConn->getQueryBuilder();
|
||||
|
|
|
|||
Loading…
Reference in a new issue