title: Keep query string in Laravel
body: <p>I have a list of entities displayed on a page. In addition to that I have a form for entity filtration and a couple of quick links, like "hidden" and "shown" entities.</p>
  
  <p>The "hidden" link's url is mysite.com/entities?hidden=1, the "shown" mysite.com/entities?hidden=0. So I pass hidden param in order to filter entities.</p>
  
  <p>On the other hand I have a separate form which is placed somewhere on the page (I dont want to convert hidden/shown links to checkboxes and insert them into the form) which is used to filter entities in some other ways, like select entity category, or search by entity name.</p>
  
  <p>I want to implement next logic: I click on the hidden link and got list of all hidden entities (mysite.com/entities?hidden=1). Then I use my form and filter entities but the "hidden" param disappears. In the form action I return <code>View::make</code>. </p>
  
  <p><code>withInput</code> doesn't fit because it's used in Redirect, not View class.</p>
  
  <p>On of the possible solutions is to add hidden input which keeps the value</p>
  
  <pre><code>@if (Input::has('hidden'))
      &lt;input type="hidden" name="hidden" value="{{ Input::get('hidden') }}" /&gt;
  @endif
  </code></pre>
  
  <p>Something like that. But is there any other solution? What if I have a lot of query params and I want to keep them.</p>