sportscult: use join for categories filter (#14206)

This commit is contained in:
Bogdan 2023-04-02 19:09:20 +03:00 committed by GitHub
parent 97c4a976c7
commit 1119f10c22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ search:
inputs:
page: torrents
search: "{{ .Keywords }}"
category: "{{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{ else }}0{{ end }}"
category: "{{ if .Categories }}{{ join .Categories \";\" }}{{ else }}0{{ end }}"
# 0 all, 1 active, 2 dead
active: 0
gold: "{{ if .Config.freeleech }}3{{ else }}0{{ end }}"