new view mode: unread or updated
This commit is contained in:
parent
7cc6112aaa
commit
bdd01d3f31
|
@ -495,6 +495,10 @@
|
|||
$view_query_part = " (unread = true OR marked = true) AND ";
|
||||
}
|
||||
|
||||
if ($view_mode == "Unread or Updated") {
|
||||
$view_query_part = " (unread = true OR last_read is NULL) AND ";
|
||||
}
|
||||
|
||||
/* $result = db_query($link, "SELECT count(id) AS total_entries
|
||||
FROM ttrss_entries WHERE
|
||||
$search_query_part
|
||||
|
|
|
@ -97,6 +97,7 @@
|
|||
<option>Starred</option>
|
||||
<option selected>Unread</option>
|
||||
<option>Unread or Starred</option>
|
||||
<option>Unread or Updated</option>
|
||||
</select>
|
||||
|
||||
Limit:
|
||||
|
|
Loading…
Reference in New Issue