Skip to content

Commit 762b090

Browse files
committed
fix(Share20\DefaultShareProvider): Sort getSharesByPath() results
Signed-off-by: provokateurin <[email protected]>
1 parent ea93dc0 commit 762b090

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/private/Share20/DefaultShareProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -805,6 +805,7 @@ public function getSharesByPath(Node $path) {
805805
$qb->expr()->eq('item_type', $qb->createNamedParameter('file')),
806806
$qb->expr()->eq('item_type', $qb->createNamedParameter('folder'))
807807
))
808+
->orderBy('id', 'ASC')
808809
->executeQuery();
809810

810811
$shares = [];

0 commit comments

Comments
 (0)