diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-04-30 12:43:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-30 12:43:28 +0200 |
commit | 72c4047ce98903e588e6de17547fa5360b18a002 (patch) | |
tree | 886c92ef5f88de9433e6a3326914cf93a143ef41 /lib/private/Comments | |
parent | 04055e79c0295baffd912801cba8d915b65f297f (diff) | |
parent | b806e1f0099f0603e8ee59bd9cc3e3e64686fab6 (diff) | |
download | nextcloud-server-72c4047ce98903e588e6de17547fa5360b18a002.tar.gz nextcloud-server-72c4047ce98903e588e6de17547fa5360b18a002.zip |
Merge pull request #32214 from nextcloud/backport/32212/stable24
Diffstat (limited to 'lib/private/Comments')
-rw-r--r-- | lib/private/Comments/Manager.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Comments/Manager.php b/lib/private/Comments/Manager.php index 123e4f6988d..abbe4c66c95 100644 --- a/lib/private/Comments/Manager.php +++ b/lib/private/Comments/Manager.php @@ -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(); |