diff options
-rw-r--r-- | actions/noticesearchrss.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/noticesearchrss.php b/actions/noticesearchrss.php index f5834c4c1..6df146ed5 100644 --- a/actions/noticesearchrss.php +++ b/actions/noticesearchrss.php @@ -40,7 +40,8 @@ class NoticesearchrssAction extends Rss10Action { $q = strtolower($q); $notice->whereAdd('MATCH(content) against (\''.addslashes($q).'\')'); - + $notice->orderBy('created DESC'); + # Ask for an extra to see if there's more. if ($limit != 0) { |