The Pirate Bay: fix multi category search and cleanup

This commit is contained in:
kaso17 2018-04-02 02:22:33 +02:00
parent 2ad2e06754
commit 01a43e04e1
1 changed files with 1 additions and 2 deletions

View File

@ -75,9 +75,8 @@
settings: []
search:
categoriesdefault: "ALL"
paths:
- path: "{{if .Query.Keywords}}/search/{{ .Keywords}}/0/99/{{range .Categories }}{{.}}{{end}}{{else}}/recent{{end}}"
- path: "{{if .Query.Keywords}}/search/{{ .Keywords}}/0/99/{{join .Categories \",\"}}{{else}}/recent{{end}}"
keywordsfilters:
# currently, the only uploader for General Hospital puts a space between season and episode
# this filter searches both formats, so "General Hospital S01E02" becomes "General Hospital S01E02 | (S01 E02)"