Revert "ildragonero: hardcode year for keywordless search. #8148"

This reverts commit 8f17502d8e.
This commit is contained in:
Garfield69
2025-02-01 04:50:51 +13:00
parent 737c2d3304
commit 1ecf342f15

View File

@@ -139,7 +139,7 @@ search:
- name: re_replace
args: ["(\\w+)", "+$1"] # prepend + to each word
inputs:
keywords: "{{ if .Keywords }}{{ .Keywords }}{{ else }}2025{{ end }}"
keywords: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}*{{ end }}"
# all, any
terms: all
# Search in subforums: yes 1, no 0