]> git.wh0rd.org Git - tt-rss.git/commitdiff
generate_syndicated_feeds use last_published/last_marked
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 22 Mar 2013 06:57:55 +0000 (10:57 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 22 Mar 2013 06:57:55 +0000 (10:57 +0400)
classes/handler/public.php

index afee58a5d64cfdc1ef66f9a79fb3f0c7afc73cf7..6b588f813e31c3c714eca82d9e8be13f92d1bce7 100644 (file)
@@ -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,