[eluser]jwp[/eluser]
I am having a problem with the ">" link that is returned from the pagination helper and wanted to see if anyone could provide any help.
$config['total_rows'] = $cnt; //$ cnt = 177
$config['per_page'] = $offset; // $offset = 25
$config['uri_segment'] = 3 ;
$config['num_links'] = 4;
$config['query_string_segment'] = 'limit' ;
$this->pagination->initialize($config);
$pagination = $this->pagination->create_links();
I receive pagination back as would be expected (1 2 3 4 5 > Last ›) with the exception that the > (next) link is the same as the 1 link.
For clarity:
1 = base_url/controller/function/&limit=0
2 = base_url/controller/function/&limit=25
3 = base_url/controller/function/&limit=50
4 = base_url/controller/function/&limit=75
5 = base_url/controller/function/&limit=100
> = base_url/controller/function/&limit=0
Last = base_url/controller/function/&limit=175
Has anyone experienced similar or might know what is going on here?
Thanks in advance.