mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
shareisland: add config sort options
This commit is contained in:
@@ -51,6 +51,30 @@
|
|||||||
tv-search: [q, season, ep, imdbid]
|
tv-search: [q, season, ep, imdbid]
|
||||||
movie-search: [q, imdbid]
|
movie-search: [q, imdbid]
|
||||||
|
|
||||||
|
settings:
|
||||||
|
- name: username
|
||||||
|
type: text
|
||||||
|
label: Username
|
||||||
|
- name: password
|
||||||
|
type: password
|
||||||
|
label: Password
|
||||||
|
- name: sort
|
||||||
|
type: select
|
||||||
|
label: Sort requested from site
|
||||||
|
default: "created_at"
|
||||||
|
options:
|
||||||
|
"created_at": "created"
|
||||||
|
"seeders": "seeders"
|
||||||
|
"size": "size"
|
||||||
|
"name": "title"
|
||||||
|
- name: type
|
||||||
|
type: select
|
||||||
|
label: Order requested from site
|
||||||
|
default: "desc"
|
||||||
|
options:
|
||||||
|
"desc": "desc"
|
||||||
|
"asc": "asc"
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: login
|
path: login
|
||||||
method: form
|
method: form
|
||||||
@@ -77,8 +101,8 @@
|
|||||||
paths:
|
paths:
|
||||||
- path: torrents/filter
|
- path: torrents/filter
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{range .Categories}}categories[]={{.}}&{{end}}"
|
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}"
|
||||||
search: "{{if .Query.IMDBID}}{{else}}{{ .Keywords }}{{end}}"
|
search: "{{ if .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
|
||||||
description: ""
|
description: ""
|
||||||
uploader: ""
|
uploader: ""
|
||||||
imdb: "{{ .Query.IMDBIDShort }}"
|
imdb: "{{ .Query.IMDBIDShort }}"
|
||||||
@@ -86,8 +110,9 @@
|
|||||||
tmdb: ""
|
tmdb: ""
|
||||||
mal: ""
|
mal: ""
|
||||||
igdb: ""
|
igdb: ""
|
||||||
sort: created_at
|
sorting: "{{ .Config.sort }}"
|
||||||
direction: desc
|
sort: "{{ .Config.sort }}"
|
||||||
|
direction: "{{ .Config.type }}"
|
||||||
qty: 100
|
qty: 100
|
||||||
keywordsfilters:
|
keywordsfilters:
|
||||||
- name: diacritics
|
- name: diacritics
|
||||||
@@ -99,6 +124,7 @@
|
|||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table > tbody > tr
|
selector: table > tbody > tr
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
selector: a[href*="/categories/"]
|
selector: a[href*="/categories/"]
|
||||||
@@ -207,4 +233,4 @@
|
|||||||
i[class*="fa-globe text-green"]: 2 # Global Double Upload
|
i[class*="fa-globe text-green"]: 2 # Global Double Upload
|
||||||
i[class*="fa-certificate text-pink"]: 2 # Featured Torrent
|
i[class*="fa-certificate text-pink"]: 2 # Featured Torrent
|
||||||
"*": 1
|
"*": 1
|
||||||
# UNIT3D 2.1.0
|
# UNIT3D 2.2.7
|
||||||
|
Reference in New Issue
Block a user