Add channel video count to search results

This commit is contained in:
Omar Roth 2018-11-13 19:16:52 -06:00
parent 47ed8bd13f
commit c8b321920d

View File

@ -12,6 +12,7 @@
<p><%= item.author %></p> <p><%= item.author %></p>
</a> </a>
<p><%= number_with_separator(item.subscriber_count) %> subscribers</p> <p><%= number_with_separator(item.subscriber_count) %> subscribers</p>
<p><%= number_with_separator(item.video_count) %> videos</p>
<h5><%= item.description_html %></h5> <h5><%= item.description_html %></h5>
<% when SearchPlaylist %> <% when SearchPlaylist %>
<% if item.id.starts_with? "RD" %> <% if item.id.starts_with? "RD" %>