Reset page when setting a new limit
This commit is contained in:
parent
9dfaa93617
commit
52c3e5d8dd
|
@ -80,7 +80,9 @@ class LimiterControlForm extends Form
|
|||
*/
|
||||
public function getRedirectUrl()
|
||||
{
|
||||
return $this->getRequest()->getUrl()->setParam('limit', $this->getElement('limit')->getValue());
|
||||
return $this->getRequest()->getUrl()
|
||||
->setParam('limit', $this->getElement('limit')->getValue())
|
||||
->without('page');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue