diff options
author | Go MAEDA <maeda@farend.jp> | 2019-03-25 01:57:20 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-03-25 01:57:20 +0000 |
commit | 391c069d87588dfccda7b308c1a4c808611a3b65 (patch) | |
tree | 559afeaaa16e2f4e7d71d4b6a66183d70cf1d86d /app/views/layouts/base.html.erb | |
parent | 292f5ac97f68ebeb58741215e520d810949bcc39 (diff) | |
download | redmine-391c069d87588dfccda7b308c1a4c808611a3b65.tar.gz redmine-391c069d87588dfccda7b308c1a4c808611a3b65.zip |
Project search should select subprojects scope when the project has subprojects (#30923).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18005 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/layouts/base.html.erb')
-rw-r--r-- | app/views/layouts/base.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/base.html.erb b/app/views/layouts/base.html.erb index b2911b4ee..5c8be88e0 100644 --- a/app/views/layouts/base.html.erb +++ b/app/views/layouts/base.html.erb @@ -78,7 +78,7 @@ <%= 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) %>: + <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project, :scope => default_search_project_scope}, :accesskey => accesskey(:search) %>: </label> <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %> <% end %> |