Commit 4ad41785733f005bbfe5e216acc51752ecdd1930
1 parent
8260f403
Exists in
master
and in
29 other branches
Included Comment as searchable through Article
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/article.rb
... | ... | @@ -644,7 +644,7 @@ class Article < ActiveRecord::Base |
644 | 644 | {:environment_id => {:type => :integer}}, |
645 | 645 | ] + facets_fields_for_solr, |
646 | 646 | :exclude_fields => [:setting], |
647 | - :include => [:profile], | |
647 | + :include => [:profile, :comments], | |
648 | 648 | :facets => facets_option_for_solr, |
649 | 649 | :boost => proc {|a| 10 if a.profile.enabled}, |
650 | 650 | :if => proc{|a| ! ['RssFeed'].include?(a.class.name)} | ... | ... |