git-svn-id: http://redmine.rubyforge.org/svn/trunk@759 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/0.6.0
@@ -48,7 +48,7 @@ class SearchController < ApplicationController | |||
# default objects to search if none is specified in parameters | |||
@scope = @object_types if @scope.empty? | |||
else | |||
@scope = %w(projects) | |||
@object_types = @scope = %w(projects) | |||
end | |||
# tokens must be at least 3 character long |