diff --git a/app/views/post_votes/index.html.erb b/app/views/post_votes/index.html.erb index 4cf009465..9695efb3c 100644 --- a/app/views/post_votes/index.html.erb +++ b/app/views/post_votes/index.html.erb @@ -19,9 +19,9 @@ <%= link_to sprintf("%+d", vote.score), post_votes_path(search: { score: vote.score }) %> <% end %> <% t.column "Uploader" do |vote| %> - <%= link_to_user vote.user %> - <%= link_to "»", post_votes_path(search: { user_name: vote.user.name }) %> -
<%= time_ago_in_words_tagged(vote.created_at) %>
+ <%= link_to_user vote.post.uploader %> + <%= link_to "»", post_votes_path(search: { post_tags_match: "user:#{vote.post.uploader.name}" }) %> +
<%= time_ago_in_words_tagged(vote.post.created_at) %>
<% end %> <% t.column "Voter" do |vote| %> <%= link_to_user vote.user %>