Fix pinned statuses being shown in a featured hashtag (#9971)

This commit is contained in:
Eugen Rochko 2019-02-05 00:27:18 +01:00 committed by GitHub
parent e02a13f64e
commit 2557cb2f95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -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