Redmine 4.1.7
This commit is contained in:
parent
55458d3479
commit
3ca3c37487
103 changed files with 2426 additions and 431 deletions
|
@ -63,7 +63,7 @@ class SearchController < ApplicationController
|
|||
@object_types = @object_types.select {|o| User.current.allowed_to?("view_#{o}".to_sym, projects_to_search)}
|
||||
end
|
||||
|
||||
@scope = @object_types.select {|t| params[t]}
|
||||
@scope = @object_types.select {|t| params[t].present?}
|
||||
@scope = @object_types if @scope.empty?
|
||||
|
||||
fetcher = Redmine::Search::Fetcher.new(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue