]> git.wh0rd.org Git - tt-rss.git/commitdiff
adaptive viewmode selects all articles in search mode
authorAndrew Dolgov <fox@bah.spb.su>
Mon, 9 Jan 2006 09:56:22 +0000 (10:56 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Mon, 9 Jan 2006 09:56:22 +0000 (10:56 +0100)
backend.php

index bf48b3b2cbdc23e8892c9262bbefd7718dfe97da..03ac9162547349cde168a8d2ead9dcdd24d0e6ef 100644 (file)
                $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 ";