diff --git a/app/views/projects/index.html.erb b/app/views/projects/index.html.erb index bff0ebb6f..5ae73d9d2 100644 --- a/app/views/projects/index.html.erb +++ b/app/views/projects/index.html.erb @@ -18,7 +18,7 @@ <% @projects.each do |project| %>
  • - <% project.bubbles.left_joins(:comments, :boosts).group(:id).order(Arel.sql("COUNT(comments.id) + COUNT(boosts.id) DESC")).limit(10).each do |bubble| %> + <% project.bubbles.left_joins(:comments, :boosts).group(:id).order(Arel.sql("COUNT(comments.id) + COUNT(boosts.id) DESC")).limit(10).shuffle.each do |bubble| %>