mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 06:00:51 -07:00
Fix homepage recently watched not showing grouped history
This commit is contained in:
parent
acc59523e0
commit
bb1bf87fe2
1 changed files with 1 additions and 1 deletions
|
@ -691,7 +691,7 @@ class DataFactory(object):
|
|||
'((CASE WHEN t.view_offset IS NULL THEN 0.1 ELSE t.view_offset * 1.0 END) / ' \
|
||||
' (CASE WHEN t.duration IS NULL THEN 1.0 ELSE t.duration * 1.0 END) * 100) ' \
|
||||
' AS percent_complete ' \
|
||||
'FROM (SELECT * FROM session_history ' \
|
||||
'FROM (SELECT *, MAX(session_history.id) FROM session_history ' \
|
||||
' JOIN session_history_metadata ON session_history_metadata.id = session_history.id ' \
|
||||
' LEFT OUTER JOIN users ON session_history.user_id = users.user_id ' \
|
||||
' WHERE datetime(session_history.stopped, "unixepoch", "localtime") ' \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue