dark-shadow: remove imdbid search. resolves #10788

This commit is contained in:
ilike2burnthing
2021-01-11 22:18:00 +00:00
committed by GitHub
parent dda103e463
commit 8a51a26df5

View File

@@ -64,8 +64,8 @@ caps:
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep, imdbid] tv-search: [q, season, ep]
movie-search: [q, imdbid] movie-search: [q]
music-search: [q] music-search: [q]
book-search: [q] book-search: [q]
@@ -136,9 +136,9 @@ search:
- path: selection.php - path: selection.php
inputs: inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}" $raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" search: "{{ .Keywords }}}"
# 0 name, 1 descr, 2 both, 4 imdb # 0 name, 1 descr, 2 both
blah: "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}" blah: "0"
orderby: "{{ .Config.sort }}" orderby: "{{ .Config.sort }}"
sort: "{{ .Config.type }}" sort: "{{ .Config.type }}"