1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-02-27 00:22:54 +00:00

bttree: add andmatch filter. resolves #6601

also add config sort option
This commit is contained in:
Garfield69 2019-12-14 10:19:53 +13:00
parent 004d0d7014
commit d1ac466974

View file

@ -16,7 +16,15 @@
search: [q] search: [q]
music-search: [q, album, artist, label, year] music-search: [q, album, artist, label, year]
settings: [] settings:
- name: sort
type: select
label: Sort requested from site
default: "added"
options:
"added": "created"
"seeders": "seeders"
"name": "title"
search: search:
paths: paths:
@ -25,9 +33,13 @@
inputs: inputs:
searchzzzz: "{{ if .Query.Artist }}{{ .Query.Artist }}{{else}}{{ .Keywords }}{{end}}" searchzzzz: "{{ if .Query.Artist }}{{ .Query.Artist }}{{else}}{{ .Keywords }}{{end}}"
cat: 0 cat: 0
sort: "{{ .Config.sort }}"
rows: rows:
selector: table[bgcolor="#CCCCCC"] tbody tr:has(a[href^="download.php"]) selector: table[bgcolor="#CCCCCC"] tbody tr:has(a[href^="download.php"])
filters:
- name: andmatch
fields: fields:
category: category:
text: "Music" text: "Music"