diff options
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backend.php b/backend.php index c1fc6020c..419d1b98e 100644 --- a/backend.php +++ b/backend.php @@ -489,6 +489,10 @@ $view_query_part = " unread = true AND "; } + if ($view_mode == "Unread or Starred") { + $view_query_part = " (unread = true OR marked = true) AND "; + } + /* $result = db_query($link, "SELECT count(id) AS total_entries FROM ttrss_entries WHERE $search_query_part |