summaryrefslogtreecommitdiff
path: root/classes/handler
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-28 21:34:28 +0400
committerAndrew Dolgov <[email protected]>2013-03-28 21:34:28 +0400
commit7ef7dd31ee72e5d58c9d8bd012c57c0314a63b66 (patch)
treeca3bf2d2e47a56899677cf60e8b01dffbc947087 /classes/handler
parente105831db0582c5e18c563a80b383e629ab7d4df (diff)
syndicated feeds: fix ordering for last_marked etc
Diffstat (limited to 'classes/handler')
-rw-r--r--classes/handler/public.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php
index 32e40657d..c302043df 100644
--- a/classes/handler/public.php
+++ b/classes/handler/public.php
@@ -17,9 +17,9 @@ class Handler_Public extends Handler {
$date_sort_field = "date_entered DESC, updated DESC";
if ($feed == -2)
- $date_sort_field = "last_published";
+ $date_sort_field = "last_published DESC";
else if ($feed == -1)
- $date_sort_field = "last_marked";
+ $date_sort_field = "last_marked DESC";
$qfh_ret = queryFeedHeadlines($this->link, $feed,
$limit, $view_mode, $is_cat, $search, $search_mode,