mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-21 02:11:29 +00:00
implement additional counter mode for virtual feeds when there's 0 unread articles
This commit is contained in:
@@ -1459,8 +1459,14 @@
|
||||
|
||||
$count = getFeedUnread($i);
|
||||
|
||||
if ($i == 0 || $i == -1 || $i == -2)
|
||||
$auxctr = getFeedArticles($i, false);
|
||||
else
|
||||
$auxctr = 0;
|
||||
|
||||
$cv = array("id" => $i,
|
||||
"counter" => (int) $count);
|
||||
"counter" => (int) $count,
|
||||
"auxcounter" => $auxctr);
|
||||
|
||||
// if (get_pref('EXTENDED_FEEDLIST'))
|
||||
// $cv["xmsg"] = getFeedArticles($i)." ".__("total");
|
||||
|
||||
Reference in New Issue
Block a user