From 49bd1754d4c5ea0e8d131ba19c361683ab7331a4 Mon Sep 17 00:00:00 2001 From: Benjamin Gaussorgues Date: Tue, 29 Oct 2024 11:32:14 +0100 Subject: [PATCH] fix(sharding): typo in addOrderBy Signed-off-by: Benjamin Gaussorgues --- lib/private/DB/QueryBuilder/Sharded/ShardedQueryBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/DB/QueryBuilder/Sharded/ShardedQueryBuilder.php b/lib/private/DB/QueryBuilder/Sharded/ShardedQueryBuilder.php index 2219a369778f6..04082f76ae891 100644 --- a/lib/private/DB/QueryBuilder/Sharded/ShardedQueryBuilder.php +++ b/lib/private/DB/QueryBuilder/Sharded/ShardedQueryBuilder.php @@ -277,7 +277,7 @@ public function setFirstResult($firstResult) { public function addOrderBy($sort, $order = null) { $this->registerOrder((string)$sort, (string)$order ?? 'ASC'); - return parent::orderBy($sort, $order); + return parent::addOrderBy($sort, $order); } public function orderBy($sort, $order = null) {