Reverse sorting when retriving old rating key list from database

This commit is contained in:
JonnyWong16 2018-10-06 20:15:19 -07:00
parent 3b0f31c112
commit 4302c4bc0d

View file

@ -1449,7 +1449,8 @@ class DataFactory(object):
'media_index, parent_media_index ' \
'FROM session_history_metadata ' \
'WHERE {0} = ? ' \
'GROUP BY {1} '
'GROUP BY {1} ' \
'ORDER BY {1} DESC '
# get grandparent_rating_keys
grandparents = {}