From 042ef42da0efb38b224a045cd6d03649b979a494 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 24 Sep 2007 18:08:24 +0000 Subject: [PATCH] Fixed projects search. git-svn-id: http://redmine.rubyforge.org/svn/trunk@759 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/search_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5