Skip to content

Commit

Permalink
Merge pull request #32239 from nextcloud/revert-32214-backport/32212/…
Browse files Browse the repository at this point in the history
…stable24

Revert "[stable24] Make the order of reactions reliable"
  • Loading branch information
blizzz authored May 2, 2022
2 parents 82dc13c + dde611b commit 929c0f8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/private/Comments/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,6 @@ private function sumReactions(string $parentId): void {
->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();
Expand Down

0 comments on commit 929c0f8

Please sign in to comment.