summaryrefslogtreecommitdiffstats
path: root/controller
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-09-23 19:24:57 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2015-09-23 19:24:57 +0200
commit21f245fb1b0b67958802ee533c3b69a40ba58990 (patch)
tree440d1e9a8127de7c66ff621dd1b611d884e58a42 /controller
parent0e118230f6e57498ffe408501e904fa05496cd52 (diff)
show only unread articles by default
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 06566f804..70059a7ce 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=true, $batchSize=-1, $offset=0,
+ public function index($type=3, $id=0, $getRead=false, $batchSize=-1, $offset=0,
$oldestFirst=false) {
return $this->serializer->serialize(
$this->itemService->findAll(