forked from GNUsocial/gnu-social
order search rss items by date desc
darcs-hash:20080710032835-84dde-dc8534409c6ba05fd9390ff965ab9f7aea0a04eb.gz
This commit is contained in:
parent
63d34061a2
commit
ad554f38e1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user