diff options
author | Andrew Dolgov <[email protected]> | 2010-10-18 18:32:26 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-10-18 18:32:26 +0400 |
commit | 7b20c977802b3ec33f05dd66814ebc9d995bc4a3 (patch) | |
tree | 7d51bcf203333c670bef5505ff94fef14b389c9f /functions.php | |
parent | 98d684f99ba839ff1514675f2786f0f851e5cbf6 (diff) |
order feed output by date_entered instead of updated to properly keep new stuff topmost; support REVERSE_HEADLINES in more headline output modes
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/functions.php b/functions.php index af5a64f37..a669814df 100644 --- a/functions.php +++ b/functions.php @@ -3512,9 +3512,9 @@ } if (get_pref($link, 'REVERSE_HEADLINES', $owner_uid)) { - $order_by = "updated"; + $order_by = "date_entered"; } else { - $order_by = "updated DESC"; + $order_by = "date_entered DESC"; } if ($view_mode != "noscores") { @@ -3645,7 +3645,7 @@ if (!$limit) $limit = 30; $qfh_ret = queryFeedHeadlines($link, $feed, - $limit, false, $is_cat, $search, $search_mode, $match_on, "updated DESC", 0, + $limit, false, $is_cat, $search, $search_mode, $match_on, "date_entered DESC", 0, $owner_uid); $result = $qfh_ret[0]; |