include subcategories in generated category feeds

This commit is contained in:
Andrew Dolgov 2014-10-11 20:18:35 +04:00
parent 4a1d122c87
commit 9b1e591854
1 changed files with 2 additions and 3 deletions

View 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];