pagination with parameters! (filtering) |
I have a website that combines pagination and filtering. You can use GET method, receive the data in controller, unset "page" key and proceed to the model with the rest. Please see my old question, perhaps it will be of help for you:
Query Builder "Where" with Array Another way is to add an extra key to all inputs in your form. So you can have inputs like Code: <input name="filter[price] value="" /> Code: <input name="filter[category] value="" /> Code: $this->request->getGet('filter') This way page will not be included |
Messages In This Thread |
pagination with parameters! (filtering) - by glorsh66 - 07-23-2017, 09:05 AM
RE: pagination with parameters! (filtering) - by PaulD - 07-23-2017, 02:13 PM
RE: pagination with parameters! (filtering) - by glorsh66 - 07-24-2017, 10:10 AM
RE: pagination with parameters! (filtering) - by glorsh66 - 07-24-2017, 11:51 AM
RE: pagination with parameters! (filtering) - by Corsari - 08-30-2021, 07:08 AM
RE: pagination with parameters! (filtering) - by IvanBell - 08-30-2021, 12:42 PM
RE: pagination with parameters! (filtering) - by InsiteFX - 08-31-2021, 04:18 AM
|