diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-02-05 00:27:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-05 00:27:18 +0100 |
commit | 2557cb2f9550f7ab0cd6e6f392642b5249589ed8 (patch) | |
tree | 92020ed6651cd43fef5bcb89ee0149d3cf7b7f4c /app/views/accounts/show.html.haml | |
parent | e02a13f64e5c2c93fa73a67a4ce32a7d1df24760 (diff) |
Fix pinned statuses being shown in a featured hashtag (#9971)
Diffstat (limited to 'app/views/accounts/show.html.haml')
-rw-r--r-- | app/views/accounts/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/accounts/show.html.haml b/app/views/accounts/show.html.haml index 23a595205..0da69728f 100644 --- a/app/views/accounts/show.html.haml +++ b/app/views/accounts/show.html.haml @@ -63,7 +63,7 @@ - @endorsed_accounts.each do |account| = account_link_to account - - @account.featured_tags.each do |featured_tag| + - @account.featured_tags.order(statuses_count: :desc).each do |featured_tag| .directory__tag{ class: params[:tag] == featured_tag.name ? 'active' : nil } = link_to short_account_tag_path(@account, featured_tag.tag) do %h4 |