Skip to content

Commit

Permalink
Revert "[stable24] Make the order of reactions reliable"
Browse files Browse the repository at this point in the history
  • Loading branch information
blizzz authored May 2, 2022
1 parent 72c4047 commit dde611b
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 dde611b

Please sign in to comment.