title: Laravel4 Pagination Issue
body: <pre><code>$dbDetails= Contract::where( 'a', 'LIKE', "%$searchText%" )
              -&gt;orWhere( 'b', 'LIKE', "%$searchText%" )
              -&gt;orWhere( 'c', 'LIKE', "%$searchText%" )
              -&gt;orWhere( 'd', 'LIKE', "%$searchText%" )
              -&gt;paginate($paginationNumber);
  </code></pre>
  
  <p>This is my controller and am getting the pagination links in view by using</p>
  
  <pre><code>{{ $contractDetails-&gt;appends(array('search' =&gt; 'test'))-&gt;links() }}
  </code></pre>
  
  <p>So here is how my url looks like</p>
  
  <pre><code>domain.com/search?page=2&amp;search=test
  </code></pre>
  
  <p>Iam wondering how can i get the second page with 10 number of rows?</p>
  
  <p>Can anyone help me to solve this?<br>
  Thanks in advance</p>