]> git.wh0rd.org Git - tt-rss.git/commitdiff
show updated articles in adaptive view mode
authorAndrew Dolgov <fox@bah.spb.su>
Mon, 19 Jan 2009 03:55:17 +0000 (04:55 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Mon, 19 Jan 2009 03:55:17 +0000 (04:55 +0100)
functions.php

index f9d38ca06a1cf994916c7396672765f1ccaa2999..d80bbf4e93a950d89673ade5e016b7df6bd8e1ae 100644 (file)
                                } else if ($feed != -1) {
                                        $unread = getFeedUnread($link, $feed, $cat_view);
                                        if ($unread > 0) {
-                                               $view_query_part = " unread = true AND ";
+                                               $view_query_part = " (unread = true OR (last_read is null and unread = false)) AND ";
                                        }
                                }
                        }