1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 19:19:59 +00:00

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

View file

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