fixes #2880: Change link from User page "Comments in xxxx posts" to comment_bumped
This commit is contained in:
@@ -144,8 +144,8 @@ class UserPresenter
|
|||||||
end
|
end
|
||||||
|
|
||||||
def commented_posts_count(template)
|
def commented_posts_count(template)
|
||||||
count = CurrentUser.without_safe_mode { Post.fast_count("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"))
|
template.link_to(count, template.posts_path(:tags => "commenter:#{user.name} order:comment_bumped"))
|
||||||
end
|
end
|
||||||
|
|
||||||
def post_version_count(template)
|
def post_version_count(template)
|
||||||
@@ -157,7 +157,7 @@ class UserPresenter
|
|||||||
end
|
end
|
||||||
|
|
||||||
def noted_posts_count(template)
|
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"))
|
template.link_to(count, template.posts_path(:tags => "noteupdater:#{user.name} order:note"))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user