adaptive viewmode selects all articles in search mode

This commit is contained in:
Andrew Dolgov 2006-01-09 10:56:22 +01:00
parent c7743f5d18
commit f18d0d94b4

View file

@ -1123,7 +1123,9 @@
$view_query_part = "";
if ($view_mode == "Adaptive") {
if ($feed != -1) {
if ($search) {
$view_query_part = " ";
} else if ($feed != -1) {
$unread = getFeedUnread($link, $feed);
if ($unread > 0) {
$view_query_part = " unread = true AND ";