title: laravel 5 pagination appends function issue
body: <p>I have code and url like below. I do not know how to use that function properly.</p>
  
  <p>I believe appends function would call some other function to append conditioned query right ? but I dont know where it call or I can write those functions.</p>
  
  <p>I never wrote any function for search but it somehow search text .. I do not know how.</p>
  
  <pre><code>URL : ?search=test&amp;status=Resolved
  
      $paginator-&gt;appends(request()-&gt;query-&gt;all());
  
      array:2 [
        "search" =&gt; "test"
        "status" =&gt; "Resolved"
      ]
  </code></pre>