Commit 9ed7bab962b4698693b6696f48f905510d7dd10c

Authored by Rodrigo Souto
1 parent ebd822e9

search-controller: not include relations that might grow indefinetely

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/controllers/public/search_controller.rb
@@ -80,7 +80,7 @@ class SearchController < PublicController @@ -80,7 +80,7 @@ class SearchController < PublicController
80 end 80 end
81 81
82 def enterprises 82 def enterprises
83 - @scope = visible_profiles(Enterprise, [{:products => :product_category}]) 83 + @scope = visible_profiles(Enterprise)
84 full_text_search 84 full_text_search
85 end 85 end
86 86