diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-06-11 17:20:22 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-06-11 17:20:22 +0200 |
commit | 2facfe9984230b70cf24467ca439e9192388e30a (patch) | |
tree | e47cf5bf204c36c9e7fbdd350e86f1f06b62652a | |
parent | 7742791bc220e58f752abc265a8c053aa9a05fc1 (diff) | |
parent | 65b3d293ce7446d8940820f78263a0d9862a3f40 (diff) | |
download | nextcloud-server-2facfe9984230b70cf24467ca439e9192388e30a.tar.gz nextcloud-server-2facfe9984230b70cf24467ca439e9192388e30a.zip |
Merge pull request #8985 from owncloud/share-grouporderfix
Added ORDER BY to enforce share entry order
-rw-r--r-- | lib/private/share/share.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/share/share.php b/lib/private/share/share.php index 883fbd1b298..a3de8ebc0ef 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -1211,6 +1211,7 @@ class Share extends \OC\Share\Constants { } } else { $queryLimit = null; + $where .= ' ORDER BY `*PREFIX*share`.`id` ASC'; } $select = self::createSelectStatement($format, $fileDependent, $uidOwner); $root = strlen($root); |