generate_syndicated_feeds use last_published/last_marked

This commit is contained in:
Andrew Dolgov 2013-03-22 10:57:55 +04:00
parent b1b1d25f50
commit feb9b2dfc9
1 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,9 @@ class Handler_Public extends Handler {
} }
if ($feed == -2) 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, $qfh_ret = queryFeedHeadlines($this->link, $feed,
$limit, $view_mode, $is_cat, $search, $search_mode, $limit, $view_mode, $is_cat, $search, $search_mode,