Keep 'show' parameter when using text search
So that "any", "with" or "without" is kept when a new search term is intered.
This commit is contained in:
parent
ade7345a6d
commit
1a49fc2777
1 changed files with 1 additions and 0 deletions
|
|
@ -1,2 +1,3 @@
|
|||
= form_tag url_for, :method=>'GET'
|
||||
= text_field_tag(:search, params[:search], placeholder: "Search...", maxlength: 50, size: 20, autofocus: true)
|
||||
= hidden_field_tag :show, params[:show]
|
||||
Loading…
Add table
Add a link
Reference in a new issue