From: Andrew Dolgov Date: Mon, 19 Jan 2009 03:55:17 +0000 (+0100) Subject: show updated articles in adaptive view mode X-Git-Tag: 1.3.0~62 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e5a65533fd177d502216379885153f033896a5e0;p=tt-rss.git show updated articles in adaptive view mode --- diff --git a/functions.php b/functions.php index f9d38ca0..d80bbf4e 100644 --- a/functions.php +++ b/functions.php @@ -3131,7 +3131,7 @@ } else if ($feed != -1) { $unread = getFeedUnread($link, $feed, $cat_view); if ($unread > 0) { - $view_query_part = " unread = true AND "; + $view_query_part = " (unread = true OR (last_read is null and unread = false)) AND "; } } }