From 5ba41c312f5cf6d3cb013a0caf38a1d9565d59ff Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 19 Jun 2006 10:04:09 +0100 Subject: [PATCH] xml-rpc: unify rss.getVirtualFeeds format with other methods --- xml-rpc.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xml-rpc.php b/xml-rpc.php index 73a47c43..b922dfb2 100644 --- a/xml-rpc.php +++ b/xml-rpc.php @@ -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"); @@ -257,6 +257,8 @@ $view_mode = "unread"; } else if ($filter == 2) { $view_mode = "marked"; + } else if ($filter == 3) { + $view_mode = "adaptive"; } $cat_view = false; -- 2.39.5