Skip to content

Commit

Permalink
Fix issue in creating pagination links
Browse files Browse the repository at this point in the history
  • Loading branch information
rougin committed Oct 13, 2024
1 parent 06c7c5c commit e11ddcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Traits/PaginateTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ protected function prepare($config)
$this->load->helper('url');

$items = array('uri_segment' => 3);
$items['base_url'] = current_url();

$items['page_query_string'] = false;
$items['query_string_segment'] = 'per_page';
Expand Down

0 comments on commit e11ddcc

Please sign in to comment.