summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-09 23:28:35 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-09 23:28:35 -0400
commitad554f38e1c8aec55e7c93d9cd795abc3a78f8c1 (patch)
tree67a39c45fa1dd5e14ce35e4f354b2ed8699c1f1d
parent63d34061a2edf233a43b0f5b0f8f7f9fdd7177e8 (diff)
order search rss items by date desc
darcs-hash:20080710032835-84dde-dc8534409c6ba05fd9390ff965ab9f7aea0a04eb.gz
-rw-r--r--actions/noticesearchrss.php3
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) {