Preserve search term on search input. Related to #1983.
This commit is contained in:
parent
738ccf0073
commit
ae1fedc73b
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@
|
||||||
- elsif (current_user || !@landing_page)
|
- elsif (current_user || !@landing_page)
|
||||||
#global_search
|
#global_search
|
||||||
= form_tag(people_path, :method => 'get', :class => "search_form") do
|
= form_tag(people_path, :method => 'get', :class => "search_form") do
|
||||||
= text_field_tag 'q', nil, :placeholder => t('find_people'), :type => 'search', :results => 5
|
= text_field_tag 'q', params[:q], :placeholder => t('find_people'), :type => 'search', :results => 5
|
||||||
|
|
||||||
#nav_badges
|
#nav_badges
|
||||||
#home_badge.badge
|
#home_badge.badge
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue