legittorrents: add missing sort

This commit is contained in:
Garfield69
2020-03-07 09:49:09 +13:00
parent dc9519c451
commit b5aee501e2

View File

@@ -33,6 +33,7 @@
options:
"3": "created"
"5": "seeders"
"4": "size"
"2": "title"
- name: type
type: select
@@ -42,7 +43,6 @@
"2": "desc"
"1": "asc"
search:
paths:
# http://www.legittorrents.info/index.php?page=torrents&search=windows&category=0&active=0
@@ -53,6 +53,8 @@
category: "{{ range .Categories }}{{.}};{{end}}"
# 0 all 1 active 2 deadonly
active: 1
order: "{{ .Config.sort }}"
by: "{{ .Config.type }}"
rows:
selector: table table table.lista > tbody > tr:has(a[href^="download.php?id="])