From 9ed7bab962b4698693b6696f48f905510d7dd10c Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Wed, 9 Apr 2014 09:50:54 -0300 Subject: [PATCH] search-controller: not include relations that might grow indefinetely --- app/controllers/public/search_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/public/search_controller.rb b/app/controllers/public/search_controller.rb index c078bc1..55e36a8 100644 --- a/app/controllers/public/search_controller.rb +++ b/app/controllers/public/search_controller.rb @@ -80,7 +80,7 @@ class SearchController < PublicController end def enterprises - @scope = visible_profiles(Enterprise, [{:products => :product_category}]) + @scope = visible_profiles(Enterprise) full_text_search end -- libgit2 0.21.2