From: Andrew Dolgov Date: Mon, 27 Aug 2012 06:14:07 +0000 (+0400) Subject: recently read: select query fix X-Git-Tag: 1.6.0~104 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5089b30b4f4c3b92619cfcff6a3c7b567dfa20b8;p=tt-rss.git recently read: select query fix --- diff --git a/include/functions.php b/include/functions.php index 9f0ae730..441eacb2 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2466,7 +2466,7 @@ } } else if ($feed == -6) { // recently read - $query_strategy_part = "unread = false"; + $query_strategy_part = "unread = false AND last_read IS NOT NULL"; $vfeed_query_part = "ttrss_feeds.title AS feed_title,"; $override_order = "last_read DESC"; } else if ($feed == -3) { // fresh virtual feed