diff options
author | provokateurin <kate@provokateurin.de> | 2024-11-25 10:26:52 +0100 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-11-25 10:27:31 +0100 |
commit | 762b09049be3abdd8326e0b395faa76226f88612 (patch) | |
tree | 0774c536affd82f3d7f0b76871a10d405dfb6f4d /lib/private/Share20 | |
parent | ea93dc0c7d09e07f93370a6bdda0bdddf4f05dcb (diff) | |
download | nextcloud-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.php | 1 |
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 = []; |