diff --git a/lib/search.rb b/lib/search.rb index 1d025172b20..8bec5a9a9f2 100644 --- a/lib/search.rb +++ b/lib/search.rb @@ -126,7 +126,6 @@ class Search .order("topics_month DESC") .secured(@guardian) .limit(@limit) - .to_a categories.each do |c| @results.add_result(SearchResult.from_category(c))