Magico: migrate to keywordsfilters

This commit is contained in:
kaso17 2017-01-31 11:32:08 +01:00
parent f13e9e063d
commit ddfd46c94c
1 changed files with 4 additions and 1 deletions

View File

@ -118,11 +118,14 @@
search:
path: /
keywordsfilters:
- name: re_replace
args: ["[^a-zA-Z0-9]+", "%25"]
inputs:
p: "torrents"
pid: "32"
$raw: "{{range .Categories}}cid[]={{.}}&{{end}}"
keywords: "{{ re_replace .Query.Keywords \"[^a-zA-Z0-9]+\" \"%25\" }}"
keywords: "{{ .Keywords }}"
search_type: "name"
searchin: "title"