1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-01 04:38:20 +00:00

torrentz2: Fix sorting of torrents (#7114)

This commit is contained in:
Jonas Dellinger 2020-02-06 03:21:08 +01:00 committed by GitHub
parent 9f03831321
commit 163b162b2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@
"adult tattoo": XXX
"other": Other
"images": Other
modes:
search: [q]
@ -72,13 +72,14 @@
label: Sort requested from site
default: "A"
options:
"_": "peers"
"N": "rating"
"A": "created"
"P": "seeders"
"S": "size"
search:
paths:
- path: "{{if .Config.filter-verified }}verified{{else}}search{{end}}{{ .Config.sort }}"
- path: "{{if .Config.filter-verified }}verified{{else}}search{{end}}{{ re_replace .Config.sort \"_\" \"\" }}"
inputs:
f: "{{ if .Keywords }}title: {{ .Keywords }}{{else}}{{end}}"
safe: "{{ if .Config.filter-safe }}1{{else}}0{{end}}"