mirror of
https://github.com/Jackett/Jackett
synced 2025-03-04 10:48:26 +00:00
YTS: correct sort
the default is date_added so using sort=date_added instead of sort_by=date_added did not make any difference but at least now we are in line with the api docs ;-)
This commit is contained in:
parent
b9655f1302
commit
3ba502a378
1 changed files with 3 additions and 2 deletions
|
@ -61,12 +61,13 @@ search:
|
|||
type: json
|
||||
|
||||
inputs:
|
||||
# ignore ' (e.g. search for america's Next Top Model)
|
||||
query_term: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||
# without this the API sometimes returns nothing
|
||||
limit: 50
|
||||
sort: date_added
|
||||
sort_by: date_added
|
||||
order_by: desc
|
||||
keywordsfilters:
|
||||
# ignore ' (e.g. search for america's Next Top Model)
|
||||
- name: re_replace
|
||||
args: ["[^\\w]+", " "]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue