summaryrefslogtreecommitdiffstats
path: root/controller
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-09-23 19:50:32 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2015-09-23 19:50:32 +0200
commit847d9da9226383e69ff02c20bebf46a597e7f7d7 (patch)
treec2edc528663526f6a8fc0a01efb7f4a2cf997604 /controller
parent21f245fb1b0b67958802ee533c3b69a40ba58990 (diff)
also get read articles
Diffstat (limited to 'controller')
-rw-r--r--controller/itemapicontroller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller/itemapicontroller.php b/controller/itemapicontroller.php
index 70059a7ce..06566f804 100644
--- a/controller/itemapicontroller.php
+++ b/controller/itemapicontroller.php
@@ -52,7 +52,7 @@ class ItemApiController extends ApiController {
* @param bool $oldestFirst
* @return array|mixed
*/
- public function index($type=3, $id=0, $getRead=false, $batchSize=-1, $offset=0,
+ public function index($type=3, $id=0, $getRead=true, $batchSize=-1, $offset=0,
$oldestFirst=false) {
return $this->serializer->serialize(
$this->itemService->findAll(