1
0
Fork 0

Increase number of pages shown in pagination.

This commit is contained in:
Andrew Tomaka 2011-11-14 09:31:34 -05:00
parent 5841670adb
commit 4322822906

View file

@ -10,7 +10,8 @@ class Gallery extends CI_Controller {
$config = array( $config = array(
'base_url' => base_url('/gallery/index/'), 'base_url' => base_url('/gallery/index/'),
'total_rows' => $this->fileupload->count_uploads(), 'total_rows' => $this->fileupload->count_uploads(),
'per_page' => $page_count 'per_page' => $page_count,
'num_links' => 5,
); );
$this->pagination->initialize($config); $this->pagination->initialize($config);