mirror of
https://github.com/Jackett/Jackett
synced 2025-03-04 18:59:01 +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
|
type: json
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
# ignore ' (e.g. search for america's Next Top Model)
|
|
||||||
query_term: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
query_term: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||||
# without this the API sometimes returns nothing
|
# without this the API sometimes returns nothing
|
||||||
limit: 50
|
limit: 50
|
||||||
sort: date_added
|
sort_by: date_added
|
||||||
|
order_by: desc
|
||||||
keywordsfilters:
|
keywordsfilters:
|
||||||
|
# ignore ' (e.g. search for america's Next Top Model)
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["[^\\w]+", " "]
|
args: ["[^\\w]+", " "]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue