If you look at the Internet address, the address on the first page
/crm/test/member/page/?manager=gddong
Go to page 2
/crm/test/member/page/10?manager=gddong
It moves normally and well. by the way Back to page 1
/crm/test/member/page/
The data is moved to the erased state. I just want to change the number as it is, what should I do?
I solved it. It turns out
$config['first_url'] = $config['base_url']. $config['suffix'];
This is how it works.
http://www.codeigniter.com/user_guide/libraries/pagination.html?highlight=pagination
$config[‘reuse_query_string’] = true;
You can set it up like this.
© 2024 OneMinuteCode. All rights reserved.