order search rss items by date desc

darcs-hash:20080710032835-84dde-dc8534409c6ba05fd9390ff965ab9f7aea0a04eb.gz
This commit is contained in:
Evan Prodromou 2008-07-09 23:28:35 -04:00
parent 63d34061a2
commit ad554f38e1

View File

@ -40,6 +40,7 @@ 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.