Commit 5fa8a733640fc777cde356632a5e59d2e679b2cb

Authored by Braulio Bhavamitra
Committed by Daniela Feitosa
1 parent 937386cf

Rescue browse controller more_comments filter

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
app/controllers/public/search_controller.rb
... ... @@ -208,6 +208,7 @@ class SearchController < PublicController
208 208 more_recent
209 209 more_active
210 210 more_popular
  211 + more_comments
211 212 )
212 213 def filter
213 214 if FILTERS.include?(params[:filter])
... ... @@ -221,6 +222,7 @@ class SearchController < PublicController
221 222 {
222 223 'articles_more_recent' => _('More recent contents from network'),
223 224 'articles_more_popular' => _('More viewed contents from network'),
  225 + 'articles_more_comments' => _('Most commented contents from network'),
224 226 'people_more_recent' => _('More recent people from network'),
225 227 'people_more_active' => _('More active people from network'),
226 228 'people_more_popular' => _('More popular people from network'),
... ...