aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Share20
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-11-25 10:26:52 +0100
committerprovokateurin <kate@provokateurin.de>2024-11-25 10:27:31 +0100
commit762b09049be3abdd8326e0b395faa76226f88612 (patch)
tree0774c536affd82f3d7f0b76871a10d405dfb6f4d /lib/private/Share20
parentea93dc0c7d09e07f93370a6bdda0bdddf4f05dcb (diff)
downloadnextcloud-server-762b09049be3abdd8326e0b395faa76226f88612.tar.gz
nextcloud-server-762b09049be3abdd8326e0b395faa76226f88612.zip
fix(Share20\DefaultShareProvider): Sort getSharesByPath() results
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'lib/private/Share20')
-rw-r--r--lib/private/Share20/DefaultShareProvider.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Share20/DefaultShareProvider.php b/lib/private/Share20/DefaultShareProvider.php
index db2734190e4..0a22c6e6a4c 100644
--- a/lib/private/Share20/DefaultShareProvider.php
+++ b/lib/private/Share20/DefaultShareProvider.php
@@ -805,6 +805,7 @@ class DefaultShareProvider implements IShareProviderWithNotification, IShareProv
$qb->expr()->eq('item_type', $qb->createNamedParameter('file')),
$qb->expr()->eq('item_type', $qb->createNamedParameter('folder'))
))
+ ->orderBy('id', 'ASC')
->executeQuery();
$shares = [];