diff options
author | Mike Cochrane <mikec@mikenz.geek.nz> | 2008-07-13 02:50:09 -0400 |
---|---|---|
committer | Mike Cochrane <mikec@mikenz.geek.nz> | 2008-07-13 02:50:09 -0400 |
commit | bdd0091e7077e09f1c8eb5dfc2b6e6ff2aa1fb8c (patch) | |
tree | cfdac757307f959780c7de6ee92a4a8cbb136749 /actions/noticesearchrss.php | |
parent | 9b4d50202d898e98be2a1ee72d02e5ccbc858f8c (diff) |
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
Diffstat (limited to 'actions/noticesearchrss.php')
-rw-r--r-- | actions/noticesearchrss.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/noticesearchrss.php b/actions/noticesearchrss.php index 4e206c9a2..c9d08ce8e 100644 --- a/actions/noticesearchrss.php +++ b/actions/noticesearchrss.php @@ -40,7 +40,7 @@ class NoticesearchrssAction extends Rss10Action { $q = strtolower($q); $notice->whereAdd('MATCH(content) against (\''.addslashes($q).'\')'); - $notice->orderBy('created DESC'); + $notice->orderBy('created DESC, notice.id DESC'); # Ask for an extra to see if there's more. |