mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Add duration to history table footer
This commit is contained in:
parent
b51d442673
commit
f9f65eae53
4 changed files with 50 additions and 13 deletions
|
@ -617,7 +617,7 @@ class WebInterface(object):
|
|||
if 'media_type' in kwargs:
|
||||
media_type = kwargs.get('media_type', "")
|
||||
if media_type != 'all':
|
||||
custom_where.append(['session_history_metadata.media_type', media_type])
|
||||
custom_where.append(['session_history.media_type', media_type])
|
||||
|
||||
data_factory = datafactory.DataFactory()
|
||||
history = data_factory.get_history(kwargs=kwargs, custom_where=custom_where, grouping=grouping, watched_percent=watched_percent)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue