1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 21:45:56 +00:00

add has_note with mode

This commit is contained in:
Andrew Dolgov
2013-03-27 21:35:16 +04:00
parent 7ad5e726cd
commit 127aaaa0f7
2 changed files with 5 additions and 0 deletions

View File

@@ -2270,6 +2270,10 @@
$view_query_part = " marked = true AND ";
}
if ($view_mode == "has_note") {
$view_query_part = " (note IS NOT NULL AND note != '') AND ";
}
if ($view_mode == "published") {
$view_query_part = " published = true AND ";
}