Increase number of pages shown in pagination.
This commit is contained in:
parent
5841670adb
commit
4322822906
1 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,8 @@ class Gallery extends CI_Controller {
|
|||
$config = array(
|
||||
'base_url' => base_url('/gallery/index/'),
|
||||
'total_rows' => $this->fileupload->count_uploads(),
|
||||
'per_page' => $page_count
|
||||
'per_page' => $page_count,
|
||||
'num_links' => 5,
|
||||
);
|
||||
|
||||
$this->pagination->initialize($config);
|
||||
|
|
Loading…
Reference in a new issue