forked from GNUsocial/gnu-social
		
	order search rss items by date desc
darcs-hash:20080710032835-84dde-dc8534409c6ba05fd9390ff965ab9f7aea0a04eb.gz
This commit is contained in:
		| @@ -40,7 +40,8 @@ class NoticesearchrssAction extends Rss10Action { | |||||||
| 		$q = strtolower($q); | 		$q = strtolower($q); | ||||||
| 		 | 		 | ||||||
| 		$notice->whereAdd('MATCH(content) against (\''.addslashes($q).'\')'); | 		$notice->whereAdd('MATCH(content) against (\''.addslashes($q).'\')'); | ||||||
|  | 		$notice->orderBy('created DESC'); | ||||||
|  | 		 | ||||||
| 		# Ask for an extra to see if there's more. | 		# Ask for an extra to see if there's more. | ||||||
| 		 | 		 | ||||||
| 		if ($limit != 0) { | 		if ($limit != 0) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user