1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-24 09:51:29 +00:00

add Unread or Starred view mode

This commit is contained in:
Andrew Dolgov
2005-10-16 15:37:15 +01:00
parent b3a9daddcc
commit b5aa95e736
2 changed files with 5 additions and 0 deletions

View File

@@ -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