Fix regression: local playlist form not shown on channel videos page

This commit is contained in:
James Taylor 2020-03-29 15:00:53 -07:00
parent d1bdbf4269
commit b5d42e2f3c

View File

@ -210,6 +210,7 @@ def get_channel_page_general_url(base_url, tab, request, channel_id=None):
if tab == 'videos':
info['number_of_videos'] = number_of_videos
info['number_of_pages'] = math.ceil(number_of_videos/30)
info['header_playlist_names'] = local_playlist.get_playlist_names()
if tab in ('videos', 'playlists'):
info['current_sort'] = sort
elif tab == 'search':