]> git.wh0rd.org Git - tt-rss.git/commitdiff
api/getCategories: add TODO
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 28 Nov 2011 15:41:04 +0000 (19:41 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 28 Nov 2011 15:41:04 +0000 (19:41 +0400)
api/index.php

index e00ca097d44c0d8498da6ecd2a02c1df27871363..0453dcb361a820b15e669aed27a811ec68932e82 100644 (file)
                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 = " .