Fix typo in ES search sort keys

This commit is contained in:
TheAMM 2017-05-27 21:37:26 +03:00
parent ea17f2d4da
commit 16194a12a3
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ def search_elastic(term='', user=None, sort='id', order='desc',
'id': 'id',
'size': 'filesize',
# 'name': 'display_name', # This is slow and buggy
'comments': 'comments_count',
'comments': 'comment_count',
'seeders': 'seed_count',
'leechers': 'leech_count',
'downloads': 'download_count'