summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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