api/getCategories: add TODO
This commit is contained in:
parent
97a3b9f012
commit
e9ed9ec844
1 changed files with 2 additions and 0 deletions
|
@ -172,6 +172,8 @@
|
||||||
case "getCategories":
|
case "getCategories":
|
||||||
$unread_only = (bool)db_escape_string($_REQUEST["unread_only"]);
|
$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
|
$result = db_query($link, "SELECT
|
||||||
id, title FROM ttrss_feed_categories
|
id, title FROM ttrss_feed_categories
|
||||||
WHERE owner_uid = " .
|
WHERE owner_uid = " .
|
||||||
|
|
Loading…
Reference in a new issue