Fix Community Channel

This commit is contained in:
Alhaziel01
2020-06-03 19:54:49 +02:00
parent 235f0afaaf
commit b463c314fe

View File

@@ -111,12 +111,8 @@ def show_menu(item):
if 'channel_name' in json and not 'disable_search' in json:
if 'search' in json and 'url' in json['search']:
search_json = json['search']
itemlist += get_search_menu(item, search_json, channel_name=json['channel_name'])
else:
itemlist += get_search_menu(item, json, channel_name=json['channel_name'])
if 'channel_name' in json and not 'disable_search' in json and 'search' not in json:
itemlist += get_search_menu(item, json, channel_name=json['channel_name'])
support.log('PAGINATION:', disable_pagination)
return itemlist