From: Andrew Dolgov Date: Thu, 31 May 2012 14:48:42 +0000 (+0400) Subject: remove Archived articles from Uncategorized view X-Git-Tag: 1.6.0~224 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=65dd90f2bae0f10aa8c4404df622d287e48b2544;p=tt-rss.git remove Archived articles from Uncategorized view --- diff --git a/include/functions.php b/include/functions.php index 27c24f8e..13214ba6 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2391,7 +2391,7 @@ } else if ($feed == 0 && !$cat_view) { // archive virtual feed $query_strategy_part = "feed_id IS NULL"; } else if ($feed == 0 && $cat_view) { // uncategorized - $query_strategy_part = "cat_id IS NULL"; + $query_strategy_part = "cat_id IS NULL AND feed_id IS NOT NULL"; $vfeed_query_part = "ttrss_feeds.title AS feed_title,"; } else if ($feed == -1) { // starred virtual feed $query_strategy_part = "marked = true";