From: Andrew Dolgov Date: Mon, 9 Jan 2006 09:56:22 +0000 (+0100) Subject: adaptive viewmode selects all articles in search mode X-Git-Tag: schema_freeze_for_1.1.2~10 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f18d0d94b41a9859e6f3aa76fcded0d654269e5b;p=tt-rss.git adaptive viewmode selects all articles in search mode --- diff --git a/backend.php b/backend.php index bf48b3b2..03ac9162 100644 --- a/backend.php +++ b/backend.php @@ -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 ";