Shareisland: replace special characters with wildcards

This commit is contained in:
kaso17 2016-12-18 12:21:53 +01:00
parent 53e2d9e9cd
commit fbfee66c7b
1 changed files with 1 additions and 1 deletions

View File

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