summaryrefslogtreecommitdiffstats
path: root/app/controllers/search_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-24 18:08:24 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-24 18:08:24 +0000
commit042ef42da0efb38b224a045cd6d03649b979a494 (patch)
tree506fb9fc37d0e54e6e2a4e751128640560d4b95b /app/controllers/search_controller.rb
parent42fe6c6e045659d4481eefbb824f9d15f5bdd29f (diff)
downloadredmine-042ef42da0efb38b224a045cd6d03649b979a494.tar.gz
redmine-042ef42da0efb38b224a045cd6d03649b979a494.zip
Fixed projects search.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@759 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/search_controller.rb')
-rw-r--r--app/controllers/search_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb
index eeb9a679c..a5ecc129c 100644
--- a/app/controllers/search_controller.rb
+++ b/app/controllers/search_controller.rb
@@ -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