Save state of history media type toggle

This commit is contained in:
JonnyWong16 2018-10-13 22:12:08 -07:00
parent ec7afcdbc4
commit 6e4fa3ef63
3 changed files with 21 additions and 13 deletions

View file

@ -1696,7 +1696,7 @@ class WebInterface(object):
custom_where.append(['session_history_metadata.section_id', section_id])
if 'media_type' in kwargs:
media_type = kwargs.get('media_type', "")
if media_type:
if media_type != 'all':
custom_where.append(['session_history.media_type', media_type])
if 'transcode_decision' in kwargs:
transcode_decision = kwargs.get('transcode_decision', "")