assorted: correct freeleech and 50% freeleech search (#15053)

This commit is contained in:
ilike2burnthing 2024-02-14 03:25:27 +00:00 committed by GitHub
parent aff193ddea
commit 416b8aab41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 12 additions and 12 deletions

View File

@ -77,9 +77,9 @@ settings:
type: checkbox
label: Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.
default: false
- name: freeleech
- name: freeleech_50
type: checkbox
label: Search freeleech only
label: Search freeleech and 50% freeleech only
default: false
- name: sort
type: select
@ -151,7 +151,7 @@ search:
nm: "{{ .Keywords }}"
# search by partial word
allw: 0
tor_type: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
tor_type: "{{ if .Config.freeleech_50 }}1{{ else }}{{ end }}"
keywordsfilters:
- name: diacritics

View File

@ -204,9 +204,9 @@ settings:
- name: password
type: password
label: Password
- name: freeleech
- name: freeleech_50
type: checkbox
label: Search freeleech only
label: Search freeleech and 50% freeleech only
default: false
- name: sort
type: select
@ -269,7 +269,7 @@ search:
df: 1
da: 1
dl: 1
tor_type: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
tor_type: "{{ if .Config.freeleech_50 }}1{{ else }}{{ end }}"
submit: "%C2%A0%C2%A0Search%C2%A0%C2%A0"
rows:

View File

@ -34,9 +34,9 @@ settings:
type: checkbox
label: Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.
default: false
- name: freeleech
- name: freeleech_50
type: checkbox
label: Search freeleech only
label: Search freeleech and 50% freeleech only
default: false
- name: sort
type: select
@ -78,7 +78,7 @@ search:
nm: "{{ .Keywords }}"
o: "{{ .Config.sort }}"
s: "{{ .Config.type }}"
tor_type: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
tor_type: "{{ if .Config.freeleech_50 }}1{{ else }}{{ end }}"
keywordsfilters:
# strip season and/or ep

View File

@ -312,9 +312,9 @@ settings:
type: checkbox
label: Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.
default: false
- name: freeleech
- name: freeleech_50
type: checkbox
label: Search freeleech only
label: Search freeleech and 50% freeleech only
default: false
- name: sort
type: select
@ -390,7 +390,7 @@ search:
nm: "{{ .Keywords }}"
# all words
allw: 1
tor_type: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
tor_type: "{{ if .Config.freeleech_50 }}1{{ else }}{{ end }}"
keywordsfilters:
# strip season and/or ep