mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
ettv: fix #2052 so that 'sortby added' returns proper results
the default search for ettv is to return 'any words' matched, which when paired with 'sortby added' meant the top resutls were not useful. now we prefix the keyworks with '+' and urlencodes them, ensuring that 'all words' matched is returned.
This commit is contained in:
@@ -35,10 +35,12 @@
|
|||||||
path: torrents-search.php
|
path: torrents-search.php
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
||||||
search: "{{ .Query.Keywords }}"
|
search: "{{ if .Keywords }}+{{else}}{{end}}{{ .Keywords }}"
|
||||||
incldead: "1"
|
incldead: "1"
|
||||||
order: desc
|
|
||||||
sort: id
|
sort: id
|
||||||
|
order: desc
|
||||||
|
keywordsfilters:
|
||||||
|
- name: urlencode
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: div.myFrame-content > div > table > tbody > tr[class]
|
selector: div.myFrame-content > div > table > tbody > tr[class]
|
||||||
|
Reference in New Issue
Block a user