diff options
Diffstat (limited to 'app/views/layouts/base.html.erb')
-rw-r--r-- | app/views/layouts/base.html.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/layouts/base.html.erb b/app/views/layouts/base.html.erb index 126d86b41..4cdefbd47 100644 --- a/app/views/layouts/base.html.erb +++ b/app/views/layouts/base.html.erb @@ -75,6 +75,7 @@ <% if User.current.logged? || !Setting.login_required? %> <div id="quick-search"> <%= form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %> + <%= hidden_field_tag 'scope', default_search_project_scope, :id => nil %> <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %> <label for='q'> <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>: |