mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 13:41:15 -07:00
Fix indentation
This commit is contained in:
parent
7e238d6e62
commit
58a1442fe9
1 changed files with 5 additions and 5 deletions
|
@ -85,7 +85,7 @@ class DataTables(object):
|
|||
if parameters:
|
||||
for parameter in parameters:
|
||||
if parameter['data'] != '':
|
||||
if int(order_column) == parameters.index(parameter):
|
||||
if int(order_column) == parameter['index']:
|
||||
if parameter['data'] in column_data['column_named'] and parameter['orderable'] == 'true':
|
||||
order = 'ORDER BY %s COLLATE NOCASE %s' % (parameter['data'], order_dir)
|
||||
logger.debug(u"order string %s " % order)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue