Preserve search term on search input. Related to #1983.

This commit is contained in:
Gonzalo Rodriguez 2011-10-02 23:02:48 -02:00
parent 738ccf0073
commit ae1fedc73b

View file

@ -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