Merge pull request #32239 from nextcloud/revert-32214-backport/32212/stable24

Revert "[stable24] Make the order of reactions reliable"
This commit is contained in:
blizzz 2022-05-02 15:32:27 +02:00 committed by GitHub
commit 929c0f80e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1269,7 +1269,6 @@ 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();