From: Andrew Dolgov Date: Thu, 28 Mar 2013 17:34:28 +0000 (+0400) Subject: syndicated feeds: fix ordering for last_marked etc X-Git-Tag: 1.7.6~187 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=7ef7dd31ee72e5d58c9d8bd012c57c0314a63b66;p=tt-rss.git syndicated feeds: fix ordering for last_marked etc --- diff --git a/classes/handler/public.php b/classes/handler/public.php index 32e40657..c302043d 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,