I have a url that looks like this:
/controller/action?query=foobar
In my paginator view script, I am calling the URL view helper to add the page number to the url:
<a href="<?php echo $this->url(array('page' => $this->next), null, false); ?>">
Passing false should make it so that the URL is not reset, but the URL being generated does not include the original query parameter:
/controller/action/page/2
...and it should be:
/controller/action/page/2?query=foobar
What am I doing wrong?