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

View file

@ -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);