mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 22:51:59 +01:00
group paging fix
This commit is contained in:
parent
5ad6119780
commit
a145554ea3
@ -74,7 +74,7 @@ class ControllerGroupList extends Controller {
|
||||
$this->data['prev_page'] = $this->data['page'] - 1;
|
||||
$this->data['next_page'] = $this->data['page'] + 1;
|
||||
|
||||
$this->data['total_pages'] = floor($this->data['total_users'] / $this->data['page_len']);
|
||||
$this->data['total_pages'] = floor($this->data['total_groups'] / $this->data['page_len']);
|
||||
|
||||
|
||||
$this->render();
|
||||
|
Loading…
Reference in New Issue
Block a user