From f18d0d94b41a9859e6f3aa76fcded0d654269e5b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 9 Jan 2006 10:56:22 +0100 Subject: [PATCH] adaptive viewmode selects all articles in search mode --- backend.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend.php b/backend.php index bf48b3b2c..03ac91625 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 ";