From: Andrew Dolgov Date: Wed, 27 Mar 2013 17:35:16 +0000 (+0400) Subject: add has_note with mode X-Git-Tag: 1.7.6~232 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=127aaaa0f78848c3df0bfb84ff795baace23ebf2;p=tt-rss.git add has_note with mode --- diff --git a/include/functions.php b/include/functions.php index c2bd7673..f33de076 100644 --- a/include/functions.php +++ b/include/functions.php @@ -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 "; } diff --git a/index.php b/index.php index 281f46cf..2c2dc9ec 100644 --- a/index.php +++ b/index.php @@ -170,6 +170,7 @@ +