From 91c21b1bac2273d2c3414fa2bb2bf7f6133ccfb2 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Tue, 21 Mar 2017 14:05:32 -0700 Subject: [PATCH] fixes #2880: Change link from User page "Comments in xxxx posts" to comment_bumped --- app/presenters/user_presenter.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/presenters/user_presenter.rb b/app/presenters/user_presenter.rb index f757ee6b4..f1dee9467 100644 --- a/app/presenters/user_presenter.rb +++ b/app/presenters/user_presenter.rb @@ -144,8 +144,8 @@ class UserPresenter end def commented_posts_count(template) - count = CurrentUser.without_safe_mode { Post.fast_count("commenter:#{user.name} order:comment") } - template.link_to(count, template.posts_path(:tags => "commenter:#{user.name} order:comment")) + count = CurrentUser.without_safe_mode { Post.fast_count("commenter:#{user.name}") } + template.link_to(count, template.posts_path(:tags => "commenter:#{user.name} order:comment_bumped")) end def post_version_count(template) @@ -157,7 +157,7 @@ class UserPresenter end def noted_posts_count(template) - count = CurrentUser.without_safe_mode { Post.fast_count("noteupdater:#{user.name} order:note") } + count = CurrentUser.without_safe_mode { Post.fast_count("noteupdater:#{user.name}") } template.link_to(count, template.posts_path(:tags => "noteupdater:#{user.name} order:note")) end