From: Mike Cochrane Date: Sun, 13 Jul 2008 04:22:38 +0000 (-0400) Subject: Sort notices on the public page where they were posted in the same second X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=464e70ac5dd85cc55e33c6e1f4a9eed797362a7d;p=quix0rs-gnu-social.git Sort notices on the public page where they were posted in the same second darcs-hash:20080713042238-533db-d55470e31ebaf8cda8c1ccee0cdc1bd5c58bd69a.gz --- diff --git a/actions/public.php b/actions/public.php index 7452859616..98e570e80b 100644 --- a/actions/public.php +++ b/actions/public.php @@ -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