adaptive viewmode selects all articles in search mode
This commit is contained in:
parent
c7743f5d18
commit
f18d0d94b4
1 changed files with 3 additions and 1 deletions
|
@ -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 ";
|
||||
|
|
Loading…
Reference in a new issue