megapeer: switch to year for keywordless search. resolves #12371

This commit is contained in:
Garfield69
2023-12-10 06:52:15 +13:00
parent e0c0899f5b
commit c6b210bc55

View File

@@ -69,7 +69,7 @@ search:
paths:
- path: browse.php
inputs:
search: "{{ if .Keywords }}{{ .Keywords }}{{ else }}%%{{ end }}"
search: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
# does not support multi category searches
cat: 0
# 0 title, 1 descr, 2 phrase, 3 infohash