recently read: select query fix

This commit is contained in:
Andrew Dolgov 2012-08-27 10:14:07 +04:00
parent 5417fbd77e
commit 5089b30b4f
1 changed files with 1 additions and 1 deletions

View File

@ -2466,7 +2466,7 @@
} }
} else if ($feed == -6) { // recently read } 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,"; $vfeed_query_part = "ttrss_feeds.title AS feed_title,";
$override_order = "last_read DESC"; $override_order = "last_read DESC";
} else if ($feed == -3) { // fresh virtual feed } else if ($feed == -3) { // fresh virtual feed