mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 08:40:00 +00:00
Fix typo in ES search sort keys
This commit is contained in:
parent
ea17f2d4da
commit
16194a12a3
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue