1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 23:35:56 +00:00

unify child category counter display; remove include_children control

This commit is contained in:
Andrew Dolgov
2012-10-11 12:46:33 +04:00
parent daf0b0142d
commit 0ef32f48b2
6 changed files with 4 additions and 74 deletions

View File

@@ -1413,8 +1413,7 @@
}
$cv = array("id" => $line["cat_id"], "kind" => "cat",
"child_counter" => $child_counter,
"counter" => $line["unread"]);
"counter" => $line["unread"] + $child_counter);
array_push($ret_arr, $cv);
}
@@ -2124,7 +2123,6 @@
$params["icons_url"] = ICONS_URL;
$params["cookie_lifetime"] = SESSION_COOKIE_LIFETIME;
$params["default_include_children"] = get_pref($link, "_DEFAULT_INCLUDE_CHILDREN");
$params["default_view_mode"] = get_pref($link, "_DEFAULT_VIEW_MODE");
$params["default_view_limit"] = (int) get_pref($link, "_DEFAULT_VIEW_LIMIT");
$params["default_view_order_by"] = get_pref($link, "_DEFAULT_VIEW_ORDER_BY");