]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/public.php
utility for getting avatar or default avatar
[quix0rs-gnu-social.git] / actions / public.php
index 7452859616db936b3b44032bc35584c82f69a666..98e570e80b5b3bc3394e029859263d553e024cb4 100644 (file)
@@ -65,7 +65,7 @@ class PublicAction extends StreamAction {
 
                $notice->whereAdd('EXISTS (SELECT user.id from user where user.id = notice.profile_id)');
 
-               $notice->orderBy('created DESC');
+               $notice->orderBy('created DESC, notice.id DESC');
 
                # We fetch one extra, to see if we need an "older" link