remove Archived articles from Uncategorized view

This commit is contained in:
Andrew Dolgov 2012-05-31 18:48:42 +04:00
parent f2798eb6e6
commit 65dd90f2ba

View file

@ -2391,7 +2391,7 @@
} else if ($feed == 0 && !$cat_view) { // archive virtual feed } else if ($feed == 0 && !$cat_view) { // archive virtual feed
$query_strategy_part = "feed_id IS NULL"; $query_strategy_part = "feed_id IS NULL";
} else if ($feed == 0 && $cat_view) { // uncategorized } 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,"; $vfeed_query_part = "ttrss_feeds.title AS feed_title,";
} else if ($feed == -1) { // starred virtual feed } else if ($feed == -1) { // starred virtual feed
$query_strategy_part = "marked = true"; $query_strategy_part = "marked = true";