]> source.dussan.org Git - nextcloud-server.git/commit
Added ORDER BY to enforce share entry order
authorVincent Petry <pvince81@owncloud.com>
Wed, 11 Jun 2014 12:28:30 +0000 (14:28 +0200)
committerVincent Petry <pvince81@owncloud.com>
Wed, 11 Jun 2014 12:28:30 +0000 (14:28 +0200)
commit65b3d293ce7446d8940820f78263a0d9862a3f40
tree7318cbe5a2154c1b642ced13ab513a867cfaac9a
parent491c96eaa904e32677b0a446bfd9c662090b4382
Added ORDER BY to enforce share entry order

Sometimes MySQL decides to return the shares in the wrong order, but
some parts of the code seem to require the order to be known, at least
so that the parent shares come before the children shares.

This fix adds an ORDER BY clause to force the order by id.
lib/private/share/share.php