From 5d4d59182655378970e720aa4f8ce8195e7856f0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 29 Aug 2013 09:12:05 +0400 Subject: [PATCH] filter testing: exclude archived articles because filtering on them makes no sense --- include/functions.php | 2 ++ 1 file changed, 2 insertions(+) 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)"); } -- 2.39.5