From 5fa8a733640fc777cde356632a5e59d2e679b2cb Mon Sep 17 00:00:00 2001 From: Braulio Bhavamitra Date: Sat, 21 Jul 2012 00:19:14 +0000 Subject: [PATCH] Rescue browse controller more_comments filter --- app/controllers/public/search_controller.rb | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/app/controllers/public/search_controller.rb b/app/controllers/public/search_controller.rb index 077bff0..971febd 100644 --- a/app/controllers/public/search_controller.rb +++ b/app/controllers/public/search_controller.rb @@ -208,6 +208,7 @@ class SearchController < PublicController more_recent more_active more_popular + more_comments ) def filter if FILTERS.include?(params[:filter]) @@ -221,6 +222,7 @@ class SearchController < PublicController { 'articles_more_recent' => _('More recent contents from network'), 'articles_more_popular' => _('More viewed contents from network'), + 'articles_more_comments' => _('Most commented contents from network'), 'people_more_recent' => _('More recent people from network'), 'people_more_active' => _('More active people from network'), 'people_more_popular' => _('More popular people from network'), -- libgit2 0.21.2