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:
Garfield69 2017-11-10 09:50:30 +13:00
parent 955aa2c9ec
commit 05b1895205
1 changed files with 4 additions and 2 deletions

View File

@ -35,10 +35,12 @@
path: torrents-search.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
search: "{{ if .Keywords }}+{{else}}{{end}}{{ .Keywords }}"
incldead: "1"
order: desc
sort: id
order: desc
keywordsfilters:
- name: urlencode
rows:
selector: div.myFrame-content > div > table > tbody > tr[class]