Merge pull request #8985 from owncloud/share-grouporderfix

Added ORDER BY to enforce share entry order
This commit is contained in:
Vincent Petry 2014-06-11 17:20:22 +02:00
commit 2facfe9984
1 changed files with 1 additions and 0 deletions

View File

@ -1211,6 +1211,7 @@ class Share extends \OC\Share\Constants {
} }
} else { } else {
$queryLimit = null; $queryLimit = null;
$where .= ' ORDER BY `*PREFIX*share`.`id` ASC';
} }
$select = self::createSelectStatement($format, $fileDependent, $uidOwner); $select = self::createSelectStatement($format, $fileDependent, $uidOwner);
$root = strlen($root); $root = strlen($root);