]> git.wh0rd.org Git - tt-rss.git/commitdiff
remove Archived articles from Uncategorized view
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 31 May 2012 14:48:42 +0000 (18:48 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 31 May 2012 14:48:42 +0000 (18:48 +0400)
include/functions.php

index 27c24f8ed1556ebce51925424b9b75353b1f5fe2..13214ba6e562584bfc340e2255c3b30ce23b4da5 100644 (file)
                        } 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";