Fix media info table sorting

This commit is contained in:
JonnyWong16 2018-02-02 23:03:48 -08:00
parent 304378f93b
commit 3c81100957
2 changed files with 4 additions and 4 deletions

View file

@ -674,7 +674,7 @@ class WebInterface(object):
if not kwargs.get('json_data'):
# Alias 'title' to 'sort_title'
if kwargs.get('order_column') == 'title':
kwargs['order_column'] == 'sort_title'
kwargs['order_column'] = 'sort_title'
# TODO: Find some one way to automatically get the columns
dt_columns = [("added_at", True, False),