mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Migrate section_id to session_history table
This commit is contained in:
parent
6d13051b1e
commit
6086e84630
9 changed files with 81 additions and 43 deletions
|
@ -1953,7 +1953,7 @@ class WebInterface(object):
|
|||
custom_where.append(['session_history.reference_id', reference_id])
|
||||
if 'section_id' in kwargs:
|
||||
section_id = kwargs.get('section_id', '')
|
||||
custom_where.append(['session_history_metadata.section_id', section_id])
|
||||
custom_where.append(['session_history.section_id', section_id])
|
||||
if 'media_type' in kwargs:
|
||||
media_type = kwargs.get('media_type', '')
|
||||
if media_type not in ('all', 'live'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue