spiritofrevolution: imdbid search now using blah=3 resolves #9752

This commit is contained in:
Garfield69 2020-10-07 07:45:52 +13:00
parent f97a0876a2
commit 6d8cecda5c
1 changed files with 3 additions and 3 deletions

View File

@ -110,8 +110,8 @@ search:
inputs: inputs:
$raw: "{{ if .Categories }}{{ range .Categories }}scat[]={{.}}&{{end}}{{else}}{{end}}" $raw: "{{ if .Categories }}{{ range .Categories }}scat[]={{.}}&{{end}}{{else}}{{end}}"
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}" search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
# 0 name 1 descr 2 both 4 imdb # 0 name, 1 descr, 2 both, 3 imdb
blah: "{{ if .Query.IMDBID }}4{{else}}0{{end}}" blah: "{{ if .Query.IMDBID }}3{{else}}0{{end}}"
orderby: "{{ .Config.sort }}" orderby: "{{ .Config.sort }}"
sort: "{{ .Config.type }}" sort: "{{ .Config.type }}"
@ -181,7 +181,7 @@ search:
optional: true optional: true
filters: filters:
- name: append - name: append
args: " +01:00" args: " +01:00" # CET
- name: replace - name: replace
args: ["um ", ""] args: ["um ", ""]
- name: dateparse - name: dateparse