From 6ca729803b1e8023f4e130cae7e8a4df6f9a5c84 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 31 Dec 2011 02:01:51 -0800 Subject: [PATCH] activity streams json 'count' => 'totalItems' --- lib/activitystreamjsondocument.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/activitystreamjsondocument.php b/lib/activitystreamjsondocument.php index 6d17075931..c67fc5a42f 100644 --- a/lib/activitystreamjsondocument.php +++ b/lib/activitystreamjsondocument.php @@ -168,7 +168,7 @@ class ActivityStreamJSONDocument extends JSONActivityCollection $this->doc['generator'] = 'StatusNet ' . STATUSNET_VERSION; // extension $this->doc['title'] = $this->title; $this->doc['url'] = $this->url; - $this->doc['count'] = $this->count; + $this->doc['totalItems'] = $this->count; $this->doc['items'] = $this->items; $this->doc['links'] = $this->links; // extension return json_encode(array_filter($this->doc)); // filter out empty elements -- 2.39.5