mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 14:00: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',
|
'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'
|
||||||
|
|
Loading…
Reference in a new issue