Fixed projects search.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@759 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-09-24 18:08:24 +00:00
parent 42fe6c6e04
commit 042ef42da0
1 changed files with 1 additions and 1 deletions

View File

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