Fix pagination.
git-svn-id: svn://10.0.0.236/trunk@213615 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
dc53b41774
commit
9cc7a4e9fb
@ -199,7 +199,7 @@ class PartiesController extends AppController {
|
||||
|
||||
//Paginate!
|
||||
$count = $this->Party->findCount();
|
||||
$pages = ceil($count/10);
|
||||
$pages = ceil($count/100);
|
||||
if ($page == null)
|
||||
$page = 1;
|
||||
if ($page > 1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user