adaptive viewmode selects all articles in search mode

master
Andrew Dolgov 19 years ago
parent c7743f5d18
commit f18d0d94b4

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

Loading…
Cancel
Save