From: Andrew Dolgov Date: Thu, 29 Aug 2013 05:12:05 +0000 (+0400) Subject: filter testing: exclude archived articles because filtering on them makes no sense X-Git-Tag: 1.10~22 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5d4d59182655378970e720aa4f8ce8195e7856f0;p=tt-rss.git filter testing: exclude archived articles because filtering on them makes no sense --- diff --git a/include/functions.php b/include/functions.php index f447d06f..9389e99f 100644 --- a/include/functions.php +++ b/include/functions.php @@ -4058,6 +4058,8 @@ $qpart .= " AND $cat_qpart"; } + $qpart .= " AND feed_id IS NOT NULL"; + array_push($query, "($qpart)"); }