xml-rpc: unify rss.getVirtualFeeds format with other methods
This commit is contained in:
parent
ef393de7bf
commit
5ba41c312f
|
@ -46,8 +46,8 @@
|
||||||
$line_struct = new xmlrpcval(
|
$line_struct = new xmlrpcval(
|
||||||
array(
|
array(
|
||||||
"id" => new xmlrpcval($id, "int"),
|
"id" => new xmlrpcval($id, "int"),
|
||||||
"description" => new xmlrpcval($counters[$id]["description"]),
|
"title" => new xmlrpcval($counters[$id]["description"]),
|
||||||
"counter" => new xmlrpcval($counters[$id]["counter"], "int")
|
"unread" => new xmlrpcval($counters[$id]["counter"], "int")
|
||||||
),
|
),
|
||||||
"struct");
|
"struct");
|
||||||
|
|
||||||
|
@ -257,6 +257,8 @@
|
||||||
$view_mode = "unread";
|
$view_mode = "unread";
|
||||||
} else if ($filter == 2) {
|
} else if ($filter == 2) {
|
||||||
$view_mode = "marked";
|
$view_mode = "marked";
|
||||||
|
} else if ($filter == 3) {
|
||||||
|
$view_mode = "adaptive";
|
||||||
}
|
}
|
||||||
|
|
||||||
$cat_view = false;
|
$cat_view = false;
|
||||||
|
|
Loading…
Reference in New Issue