]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Sort notices on the public page where they were posted in the same second
authorMike Cochrane <mikec@mikenz.geek.nz>
Sun, 13 Jul 2008 04:22:38 +0000 (00:22 -0400)
committerMike Cochrane <mikec@mikenz.geek.nz>
Sun, 13 Jul 2008 04:22:38 +0000 (00:22 -0400)
darcs-hash:20080713042238-533db-d55470e31ebaf8cda8c1ccee0cdc1bd5c58bd69a.gz

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