summaryrefslogtreecommitdiffstats
path: root/controller/itemcontroller.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-05-29 22:58:30 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-05-29 22:58:30 +0200
commitcba949fb0771c832326fc7886cced2bdc37e7536 (patch)
tree9e1a335a83a6006f645c801b762db7525e4c6c59 /controller/itemcontroller.php
parentb91ef01fdbf14c6a5d58e5c471dbb1fc9d17cdfb (diff)
order by pubdate
Diffstat (limited to 'controller/itemcontroller.php')
-rw-r--r--controller/itemcontroller.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/controller/itemcontroller.php b/controller/itemcontroller.php
index 486d0b922..4f3f22c62 100644
--- a/controller/itemcontroller.php
+++ b/controller/itemcontroller.php
@@ -80,7 +80,8 @@ class ItemController extends Controller {
}
$params['items'] = $this->itemService->findAll(
- $id, $type, $limit, $offset, $showAll, $this->userId, $oldestFirst
+ $id, $type, $limit, $offset, $showAll, $oldestFirst,
+ $this->userId
);
// this gets thrown if there are no items