hhanclub: fix category filtering

This commit is contained in:
Bogdan
2025-01-01 19:47:27 +02:00
parent 2592191871
commit 7f017f1a8b

View File

@@ -99,7 +99,7 @@ search:
# required to bypass validation check
followredirect: true
inputs:
$raw: "{{ range .Categories }}cat[]{{.}}=1&{{end}}"
$raw: "{{ range .Categories }}cat[]={{.}}&{{end}}"
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if or .Query.IMDBID .Query.DoubanID }} {{ else }}{{ .Keywords }}{{ end }}{{ if .Query.DoubanID }}{{ .Query.DoubanID }}{{ else }}{{ end }}"
# 0 incldead, 1 active, 2 dead
incldead: 0