title: Codeigniter Pagination bug
body: <p>I think that there is a bug in the codeigniter pagination library. For some reason when I generate the pagination links, it generates the links as:</p>
  
  <pre><code>1 2 3 4
  </code></pre>
  
  <p>Where page <code>3</code> is linking to <code>4</code>.</p>
  
  <p>Here is the config variables code in case anyone is curious:</p>
  
  <pre><code>$config['base_url'] = base_url() . "index.php/test/$query_string";
  $config['total_rows'] = $search_results-&gt;num_rows();
  $config['per_page'] = $items_per_page;
  </code></pre>
  
  <p>And here is a sample of my query string:</p>
  
  <pre><code>?q=sample_query_string&amp;per_page=1
  </code></pre>
  
  <p>Is there a way to fix this?</p>