Browse Source

api/getCategories: add TODO

Andrew Dolgov 8 years ago
parent
commit
e9ed9ec844
1 changed files with 2 additions and 0 deletions
  1. 2 0
      api/index.php

+ 2 - 0
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 = " .