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