title: sfPropelPager only generates 5 pages
body: <p>i'm working on a symfony project and needed to create a paging system for long lists. I used sfPropelPager plugin to generate them. I'm using it this way:</p>
  
  <p>I print all the pages in diferent <code>&lt;div&gt;</code> tags and only set visible the first. Then whith a javascript function, i show the other pages when clicking on next, prev, ... buttons.</p>
  
  <p>the function i use to generate the pages is this:
         `</p>
  
  <pre><code>    $pager = new sfPropelPager('SysLogTbl',sfConfig::get('sfPropelPagerLines'));
      $c = new Criteria();
      $c-&gt;add('codigo_maestro',$this-&gt;getCodigoMaestro());
      $c-&gt;add('codigo_registro',$id);
      $c-&gt;addDescendingOrderByColumn('fecha_log');
      $pager-&gt;setCriteria($c);
      $pager-&gt;init();
      return $pager;`
  </code></pre>
  
  <p>and the view code is:</p>
  
  <pre><code>        foreach($pager-&gt;getLinks() as $page){
  
          echo'&lt;div id="logpage'.$page.'" class="logpages" style="width:100%;';
          if($page!=1){echo ' display:none';}
          echo '"&gt;';
  
          $pager-&gt;setPage($page);
          $pager-&gt;init();
          $results= $pager-&gt;getResults();
  
          echo '&lt;table class="none_list" id="list"&gt;';
          echo "&lt;thead&gt;";
          echo "&lt;td width='8%'&gt;Usuario&lt;/td&gt;&lt;td width='8%'&gt;Acci&amp;oacute;n&lt;/td&gt;";
          echo "&lt;td width='13%'&gt;Campo&lt;/td&gt;&lt;td width='25%'&gt;Valor Antiguo&lt;/td&gt;";
          echo"&lt;td width='25%'&gt;Nuevo valor&lt;/td&gt;&lt;td width='21%'&gt;TimeStamp&lt;/td&gt;";
          echo "&lt;/thead&gt;";
          foreach($results as $log){
              echo '&lt;tr id="'.$log-&gt;getCodigoLog().'" &gt;';
  
              &lt; here goes each entry in the page display, not relevant &gt;
  
  
          }
          echo '&lt;/table&gt;';
  
          echo "&lt;div style='float:left'&gt;";
          echo image_tag('first.png',array('class'=&gt;"first"));
          echo image_tag('previous.png',array('class'=&gt;"previous"));
          echo "&lt;/div&gt;";
          foreach($lista-&gt;getLinks() as $page){
              echo "&lt;div class='logindex' id='".$page."' style='float:left; cursor:pointer'&gt;";
              if($page == $lista-&gt;getPage()){
                  echo "&lt;b&gt;".$page."&lt;/b&gt;";
              }else{
                  echo $page;
              }
              echo "&lt;/div&gt;";
          }
          echo image_tag('next.png',array('class'=&gt;"next"));
          echo image_tag('last.png',array('class'=&gt;"last"));
      echo '&lt;/div&gt;';
      $lista-&gt;setCursor($lista-&gt;getNextPage());
  
  }
  $lista-&gt;setCursor($lista-&gt;getFirstPage());?&gt;
  </code></pre>
  
  <p>The problem is sfPropelPager only generates at most 5 pages. </p>
  
  <p>Do you know where must i configure this to show all the pages?? thank you!</p>