From feb9b2dfc9619f87bfea046c1a35ef4e8cc9597d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 22 Mar 2013 10:57:55 +0400 Subject: [PATCH] generate_syndicated_feeds use last_published/last_marked --- classes/handler/public.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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, -- 2.39.5