]> git.wh0rd.org Git - tt-rss.git/commitdiff
xml-rpc: unify rss.getVirtualFeeds format with other methods
authorAndrew Dolgov <fox@madoka.spb.ru>
Mon, 19 Jun 2006 09:04:09 +0000 (10:04 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Mon, 19 Jun 2006 09:04:09 +0000 (10:04 +0100)
xml-rpc.php

index 73a47c438b20d147694ba86409fcd5f3fd4949c3..b922dfb25ab2a03aa914f8ac43d2cab2321e0b32 100644 (file)
@@ -46,8 +46,8 @@
                                $line_struct = new xmlrpcval(
                                        array(
                                                "id" => new xmlrpcval($id, "int"),
-                                               "description" => new xmlrpcval($counters[$id]["description"]),
-                                               "counter" => new xmlrpcval($counters[$id]["counter"], "int")
+                                               "title" => new xmlrpcval($counters[$id]["description"]),
+                                               "unread" => new xmlrpcval($counters[$id]["counter"], "int")
                                        ),
                                        "struct");
 
                                $view_mode = "unread";
                        } else if ($filter == 2) {
                                $view_mode = "marked";
+                       } else if ($filter == 3) {
+                               $view_mode = "adaptive";
                        }
                
                        $cat_view = false;