update max per page
This commit is contained in:
parent
b061996b20
commit
d25d619e6a
|
@ -111,7 +111,7 @@ class PostController extends PageController
|
|||
if ($query || $tag) {
|
||||
$entities = $this->createQuery()
|
||||
->search($query, $tag)
|
||||
->paginate($page, 5)
|
||||
->paginate($page, 9)
|
||||
;
|
||||
}
|
||||
|
||||
|
@ -126,7 +126,7 @@ class PostController extends PageController
|
|||
{
|
||||
$entities = $this->createQuery()
|
||||
->inCategory($category, false)
|
||||
->paginate($page, 5)
|
||||
->paginate($page, 9)
|
||||
;
|
||||
|
||||
if (!$category->getIsActive() && !$this->getUser()) {
|
||||
|
|
Loading…
Reference in a new issue