fix(sharding): typo in addOrderBy

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
This commit is contained in:
Benjamin Gaussorgues 2024-10-29 11:32:14 +01:00
parent 79db082fe6
commit 49bd1754d4

View file

@ -277,7 +277,7 @@ class ShardedQueryBuilder extends ExtendedQueryBuilder {
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) {