rintor: switch andmatch for re_replace

This commit is contained in:
ilike2burnthing 2020-10-30 10:41:02 +00:00 committed by GitHub
parent 03635b63ff
commit 2c77dbda26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -144,11 +144,12 @@ search:
# despite the all words flag the search engine returns anywords matching.
allw: 1
$raw: "{{ if .Categories }}{{range .Categories}}&f[]={{.}}{{end}}{{else}}&f[]=-1{{end}}"
keywordsfilters:
- name: re_replace
args: ["(\\w+)", " +$1"] # prepend + to each word
rows:
selector: tr[id^="tor_"]
filters:
- name: andmatch
fields:
category: