mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
nitro: add config sort options
This commit is contained in:
@@ -28,7 +28,22 @@
|
|||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep]
|
||||||
movie-search: [q]
|
movie-search: [q]
|
||||||
|
|
||||||
settings: []
|
settings:
|
||||||
|
- name: sort
|
||||||
|
type: select
|
||||||
|
label: Sort requested from site
|
||||||
|
default: "data"
|
||||||
|
options:
|
||||||
|
"data": "created"
|
||||||
|
"seeds": "seeders"
|
||||||
|
"size": "size"
|
||||||
|
- name: type
|
||||||
|
type: select
|
||||||
|
label: Order requested from site
|
||||||
|
default: "desc"
|
||||||
|
options:
|
||||||
|
"desc": "desc"
|
||||||
|
"asc": "asc"
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
@@ -40,9 +55,12 @@
|
|||||||
per: 50
|
per: 50
|
||||||
# 0 all 1 active 2 dead
|
# 0 all 1 active 2 dead
|
||||||
active: 1
|
active: 1
|
||||||
order: data
|
order: "{{ .Config.sort }}"
|
||||||
|
by: "{{ .Config.type }}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table[width="100%"] > tbody > tr:has(a[onclick="getMagnet(this)"])
|
selector: table[width="100%"] > tbody > tr:has(a[onclick="getMagnet(this)"])
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
title:
|
title:
|
||||||
selector: a[href^="/torrent/"]
|
selector: a[href^="/torrent/"]
|
||||||
|
Reference in New Issue
Block a user