1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-02-26 16:12:55 +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,18 +16,30 @@
search: [q]
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:
paths:
# http://bt.etree.org/?searchzzzz=&cat=0
- path: /
inputs:
searchzzzz: "{{if .Query.Artist}}{{ .Query.Artist }}{{else}}{{ .Keywords }}{{end}}"
searchzzzz: "{{ if .Query.Artist }}{{ .Query.Artist }}{{else}}{{ .Keywords }}{{end}}"
cat: 0
sort: "{{ .Config.sort }}"
rows:
selector: table[bgcolor="#CCCCCC"] tbody tr:has(a[href^="download.php"])
filters:
- name: andmatch
fields:
category:
text: "Music"