]> git.wh0rd.org Git - tt-rss.git/commitdiff
include subcategories in generated category feeds
authorAndrew Dolgov <noreply@fakecake.org>
Sat, 11 Oct 2014 16:18:35 +0000 (20:18 +0400)
committerAndrew Dolgov <noreply@fakecake.org>
Sat, 11 Oct 2014 16:18:35 +0000 (20:18 +0400)
classes/handler/public.php

index e89318c6f8dd236676d83f2f18cabc3d8ebda38e..34d57744151ea20cf8912284ecef46a5b013debb 100644 (file)
@@ -39,11 +39,10 @@ class Handler_Public extends Handler {
 
                //function queryFeedHeadlines($feed, $limit, $view_mode, $cat_view, $search, $search_mode, $override_order = false, $offset = 0, $owner_uid = 0, $filter = false, $since_id = 0, $include_children = false, $ignore_vfeed_group = false, $override_strategy = false, $override_vfeed = false, $start_ts = false) {
 
-
                $qfh_ret = queryFeedHeadlines($feed,
                        1, $view_mode, $is_cat, $search, $search_mode,
                        $date_sort_field, $offset, $owner_uid,
-                       false, 0, false, true, false, false, $start_ts);
+                       false, 0, true, true, false, false, $start_ts);
 
                $result = $qfh_ret[0];
 
@@ -64,7 +63,7 @@ class Handler_Public extends Handler {
                $qfh_ret = queryFeedHeadlines($feed,
                        $limit, $view_mode, $is_cat, $search, $search_mode,
                        $date_sort_field, $offset, $owner_uid,
-                       false, 0, false, true, false, false, $start_ts);
+                       false, 0, true, true, false, false, $start_ts);
 
 
                $result = $qfh_ret[0];