title: cakePHP paginator not passing passedargs
body: <p>I am using cakePHP and I am trying to get the paginator component to pass the get variables, or passedargs, when you click through to different pages. I have a variety of different search input selectors which "filters" the results returned. This works on first view, but the moment I click on a different page, it shows all of the results.</p>
  
  <p>I have the following setup for my paginator:</p>
  
  <pre><code>// In my controller class:
  public $paginate = array('maxLimit' =&gt; 10, 'paramType' =&gt; 'querystring');
  
  // Within my action method:
  $this-&gt;paginate = array('conditions' =&gt; array(...),
                          order =&gt; array('Model.field ASC'),
                          'limit' =&gt; 20 
   );
  
   // Calling the paginator:
   $results = $this-&gt;paginate('Model');
   $this-&gt;set(compact('results'));
  </code></pre>
  
  <p>In my view file:</p>
  
  <pre><code> &lt;div class="paging"&gt;
  &lt;?php
      echo $this-&gt;Paginator-&gt;prev('&lt; ' . __('previous'), array(), null, array('class' =&gt; 'prev disabled'));
      echo $this-&gt;Paginator-&gt;numbers(array('separator' =&gt; ''));
      echo $this-&gt;Paginator-&gt;next(__('next') . ' &gt;', array(), null, array('class' =&gt; 'next disabled'));
  ?&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>EDIT:</strong>
  From my understanding it's better to use the passedArgs, but I am a little unsure as to how to do this. My $this->passedArgs returns no results, so I am creating the passed parameters within my controller example. I also changed my form from Get to Post:</p>
  
  <pre><code> $this-&gt;passedArgs["searchfield"] = $_POST["value"];
  </code></pre>
  
  <p>It passes the passedArgs now correctly in the pagination strip, but I am unsure as to how to build the paging conditions array now. In most cases users will not select default values example, one of the filters is date from and date to, and then a search input box, if I leave the dates it will still created the argumens and not return any results so in essence my url would be something like:</p>
  
  <pre><code> http://localhost/site/controller/action/page:3/datefrom:0/dateto:0/searchFor:survey
  </code></pre>
  
  <p>Any assistance?</p>