Is it possible to remove params from pagination query string?
I have an url like
http://somesite/controller/action/var1/value1/var2/value2/page/3
I want to remove the var1/value1 from pagination url. How will i do that?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you create a new URL with the url() view helper you could do the following:
$this->url(array('var1' => null));to reset the ‘var1’ variabele. Setting it to null it will be removed from the current URL.