From 3f579527107bfcf2d7e907fc2ef8f16711d54788 Mon Sep 17 00:00:00 2001 From: albert Date: Fri, 22 Feb 2013 16:16:37 -0500 Subject: [PATCH] fix comment searches from user profile --- app/presenters/user_presenter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/presenters/user_presenter.rb b/app/presenters/user_presenter.rb index 0112937f2..f5b388d4c 100644 --- a/app/presenters/user_presenter.rb +++ b/app/presenters/user_presenter.rb @@ -100,7 +100,7 @@ class UserPresenter end def comment_count(template) - template.link_to(Comment.for_creator(user.id).count, template.comments_path(:search => {:creator_id => user.id})) + template.link_to(Comment.for_creator(user.id).count, template.comments_path(:search => {:creator_id => user.id}, :group_by => "comment")) end def post_version_count(template)