mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:55:55 +00:00
add Unread or Starred view mode
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -90,6 +90,7 @@
|
||||
<option>All Articles</option>
|
||||
<option>Starred</option>
|
||||
<option selected>Unread</option>
|
||||
<option>Unread or Starred</option>
|
||||
</select>
|
||||
|
||||
Limit:
|
||||
|
||||
Reference in New Issue
Block a user