title: codeigniter 3.0 pagination with get parameter
body: <p>I have use codeigniter pagination, i add GET parameter to url. the problem is when i change to next page all of my GET parameter are disappear</p>
  
  <p>example url+ parameters:</p>
  
  <blockquote>
    <p><a href="http://localhost/test/index.php/search/product/?sort_by=price&amp;order=ASC" rel="nofollow">http://localhost/test/index.php/search/product/?sort_by=price&amp;order=ASC</a></p>
  </blockquote>
  
  <p>when i click page 2 which is next page, the url become like this:</p>
  
  <blockquote>
    <p><a href="http://localhost/test/index.php/search/product/5" rel="nofollow">http://localhost/test/index.php/search/product/5</a></p>
  </blockquote>
  
  <p>I want the url to become like this:</p>
  
  <blockquote>
    <p><a href="http://localhost/portofolio2/index.php/search/product/5?sort_by=price&amp;order=ASC" rel="nofollow">http://localhost/portofolio2/index.php/search/product/5?sort_by=price&amp;order=ASC</a></p>
  </blockquote>
  
  <p>===========================================================================</p>
  
  <blockquote>
    <blockquote>
      <p><strong>UPDATE</strong>&lt;&lt;</p>
    </blockquote>
  </blockquote>
  
  <p>I add $config['suffix'] to the $config array, now when I go to next page the GET parameter didn't dissapear. but there is new problem, when I navigate back to the first page my GET parameter dissapear again.</p>
  
  <p>this my $config for pagination looks like</p>
  
  <pre><code>'base_url' =&gt; base_url() . 'index.php/search/product/',
          'suffix' =&gt; '?sort_by=' . $sort_by . '&amp;order=' . $order,
          'use_global_url_suffix' =&gt; TRUE,
          'reuse_query_string' =&gt; FALSE,
          'total_rows' =&gt; $this-&gt;products_model-&gt;total_row(),
          'per_page' =&gt; 5,
          'num_links' =&gt; 20,
          'full_tag_open' =&gt; '&lt;ul class="pagination"&gt;',
          'full_tag_close' =&gt; '&lt;/ul&gt;',
          'first_link' =&gt; FALSE,
          'last_link' =&gt; FALSE,
          'first_tag_open' =&gt; '&lt;li&gt;',
          'first_tag_close' =&gt; '&lt;/li&gt;',
          'prev_link' =&gt; '&amp;laquo',
          'prev_tag_open' =&gt; '&lt;li class="prev"&gt;',
          'prev_tag_close' =&gt; '&lt;/li&gt;',
          'next_link' =&gt; '&amp;raquo',
          'next_tag_open' =&gt; '&lt;li&gt;',
          'next_tag_close' =&gt; '&lt;/li&gt;',
          'last_tag_open' =&gt; '&lt;li&gt;',
          'last_tag_close' =&gt; '&lt;/li&gt;',
          'cur_tag_open' =&gt; '&lt;li class="active"&gt;&lt;a href="#"&gt;',
          'cur_tag_close' =&gt; '&lt;/a&gt;&lt;/li&gt;',
          'num_tag_open' =&gt; '&lt;li&gt;',
          'num_tag_close' =&gt; '&lt;/li&gt;',
  </code></pre>
  
  <p>Thanks</p>