mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Reverse sorting when retriving old rating key list from database
This commit is contained in:
parent
3b0f31c112
commit
4302c4bc0d
1 changed files with 2 additions and 1 deletions
|
@ -1449,7 +1449,8 @@ class DataFactory(object):
|
||||||
'media_index, parent_media_index ' \
|
'media_index, parent_media_index ' \
|
||||||
'FROM session_history_metadata ' \
|
'FROM session_history_metadata ' \
|
||||||
'WHERE {0} = ? ' \
|
'WHERE {0} = ? ' \
|
||||||
'GROUP BY {1} '
|
'GROUP BY {1} ' \
|
||||||
|
'ORDER BY {1} DESC '
|
||||||
|
|
||||||
# get grandparent_rating_keys
|
# get grandparent_rating_keys
|
||||||
grandparents = {}
|
grandparents = {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue