frozenlayer: fix 2nd search path to avoid duplicates for keywordless search

This commit is contained in:
ilike2burnthing
2021-10-30 16:55:48 +01:00
committed by GitHub
parent 886aa946cc
commit eef7b27ad1

View File

@@ -46,7 +46,7 @@ caps:
search:
paths:
- path: "{{ if .Keywords }}buscar/descargas/{{ .Config.category }}/{{ .Keywords }}?search=Buscar{{ else }}descargas{{ end }}"
- path: "{{ if .Keywords }}buscar/descargas/{{ .Config.category }}/{{ .Keywords }}?search=Buscar&page=2{{ else }}descargas{{ end }}"
- path: "{{ if .Keywords }}buscar/descargas/{{ .Config.category }}/{{ .Keywords }}?search=Buscar&{{ else }}descargas?{{ end }}page=2"
keywordsfilters:
- name: re_replace # remove first season from search string
args: ["(?i)(S1)", ""]