I have set simple search in my project. I need to display the results based on search criteria. When I Click on the second page of the paginate button it shows the whole results means search criteria is missing. How to paginate with search criteria.
Thanks in Advance. Prasanth
您需要合并您的 url 参数,以便将搜索转移到下一页。
$this->Paginator->options(array('url' => $this->passedArgs));
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.