mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
fix: use correct variable for order by
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
parent
9ac556cdf5
commit
d470ad108f
1 changed files with 2 additions and 2 deletions
|
|
@ -910,7 +910,7 @@ class DefaultShareProvider implements
|
|||
|
||||
if ($offset !== 0 || $limit !== -1) {
|
||||
// Order by id
|
||||
$qb->orderBy('id');
|
||||
$qb->orderBy('s.id');
|
||||
}
|
||||
|
||||
// Set limit and offset
|
||||
|
|
@ -983,7 +983,7 @@ class DefaultShareProvider implements
|
|||
->setFirstResult(0);
|
||||
|
||||
if ($offset !== 0 || $limit !== -1) {
|
||||
$qb->orderBy('id');
|
||||
$qb->orderBy('s.id');
|
||||
}
|
||||
|
||||
if ($limit !== -1) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue