generationfree: add freeleech filter #9456

untested
This commit is contained in:
Garfield69 2020-09-19 14:24:10 +12:00
parent f85e608498
commit 1ea135e19b
1 changed files with 5 additions and 1 deletions

View File

@ -127,6 +127,10 @@ settings:
- name: password - name: password
type: password type: password
label: Password label: Password
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: multilang - name: multilang
type: checkbox type: checkbox
label: Replace MULTI by another language in release name label: Replace MULTI by another language in release name
@ -192,7 +196,7 @@ search:
# 0 active 1 incldead 2 onlydead # 0 active 1 incldead 2 onlydead
incldead: 1 incldead: 1
# 0 all 1 notfree 2 freeonly # 0 all 1 notfree 2 freeonly
freeleech: 0 freeleech: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}"
# 0 all 1 French 2 English 3 etc # 0 all 1 French 2 English 3 etc
lang: 0 lang: 0
sort: "{{ .Config.sort }}" sort: "{{ .Config.sort }}"