Shareisland: replace special characters with wildcards

This commit is contained in:
kaso17
2016-12-18 12:21:53 +01:00
parent 53e2d9e9cd
commit fbfee66c7b

View File

@@ -75,7 +75,7 @@
p: "torrents"
pid: "32"
$raw: "{{range .Categories}}cid[]:{{.}}&{{end}}"
keywords: "{{ .Query.Keywords }}"
keywords: "{{ re_replace .Query.Keywords \"[^a-zA-Z0-9]+\" \"%\" }}"
search_type: "name"
searchin: "title"