From bdd0091e7077e09f1c8eb5dfc2b6e6ff2aa1fb8c Mon Sep 17 00:00:00 2001 From: Mike Cochrane Date: Sun, 13 Jul 2008 02:50:09 -0400 Subject: Sort notices by date then id so they are in the correct order when there are multiple in the same second darcs-hash:20080713065009-533db-69d7f21d152552d7e994a0c7c7615b61a8ea592c.gz --- actions/publicrss.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/publicrss.php') diff --git a/actions/publicrss.php b/actions/publicrss.php index 0916da009..621058d3f 100644 --- a/actions/publicrss.php +++ b/actions/publicrss.php @@ -40,7 +40,7 @@ class PublicrssAction extends Rss10Action { $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'); if ($limit != 0) { $notice->limit(0, $limit); -- cgit v1.2.3-54-g00ecf