fixes #2891: Banned artists still show up in search listings
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<% @artists.each do |artist| %>
|
||||
<% if artist.visible? %>
|
||||
<%= content_tag(:tr, :id => "artist-#{artist.id}") do %>
|
||||
<td>
|
||||
<%= link_to h(artist.name), artist_path(artist) %>
|
||||
@@ -22,6 +23,7 @@
|
||||
<td><%= artist.status %></td>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user