From: Andrew Dolgov Date: Fri, 22 Mar 2013 06:57:55 +0000 (+0400) Subject: generate_syndicated_feeds use last_published/last_marked X-Git-Tag: 1.7.5~24 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=feb9b2dfc9619f87bfea046c1a35ef4e8cc9597d;p=tt-rss.git generate_syndicated_feeds use last_published/last_marked --- diff --git a/classes/handler/public.php b/classes/handler/public.php index afee58a5..6b588f81 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -21,7 +21,9 @@ class Handler_Public extends Handler { } if ($feed == -2) - $date_sort_field = "last_read"; + $date_sort_field = "last_published"; + else if ($feed == -1) + $date_sort_field = "last_marked"; $qfh_ret = queryFeedHeadlines($this->link, $feed, $limit, $view_mode, $is_cat, $search, $search_mode,