From ad554f38e1c8aec55e7c93d9cd795abc3a78f8c1 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 9 Jul 2008 23:28:35 -0400 Subject: [PATCH] order search rss items by date desc darcs-hash:20080710032835-84dde-dc8534409c6ba05fd9390ff965ab9f7aea0a04eb.gz --- actions/noticesearchrss.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/actions/noticesearchrss.php b/actions/noticesearchrss.php index f5834c4c1c..6df146ed51 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) { -- 2.39.5