From 464e70ac5dd85cc55e33c6e1f4a9eed797362a7d Mon Sep 17 00:00:00 2001 From: Mike Cochrane Date: Sun, 13 Jul 2008 00:22:38 -0400 Subject: Sort notices on the public page where they were posted in the same second darcs-hash:20080713042238-533db-d55470e31ebaf8cda8c1ccee0cdc1bd5c58bd69a.gz --- actions/public.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/public.php b/actions/public.php index 745285961..98e570e80 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 -- cgit v1.2.3-54-g00ecf