From: Andrew Dolgov Date: Mon, 28 Nov 2011 15:41:04 +0000 (+0400) Subject: api/getCategories: add TODO X-Git-Tag: 1.5.8~46 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e9ed9ec844e2b22418814846a9998fa1ba81a963;p=tt-rss.git api/getCategories: add TODO --- diff --git a/api/index.php b/api/index.php index e00ca097..0453dcb3 100644 --- a/api/index.php +++ b/api/index.php @@ -172,6 +172,8 @@ case "getCategories": $unread_only = (bool)db_escape_string($_REQUEST["unread_only"]); + // TODO do not return empty categories, return Uncategorized and standard virtual cats + $result = db_query($link, "SELECT id, title FROM ttrss_feed_categories WHERE owner_uid = " .