metaltracker: Use Artist instead of keyword (#3295)

use artist instead of keyword if artist is supplied to make it somewhat compatible with lidarr(by default supplies artist and album with empty keyword)
This commit is contained in:
Akuma737 2018-06-27 16:31:36 +02:00 committed by kaso17
parent 89b60c4c15
commit b0ce0b5350
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@
- path: /torrents/search.html
method: post
inputs:
"SearchTorrentsForm[nameTorrent]": "{{ .Keywords }}"
"SearchTorrentsForm[nameTorrent]": "{{if .Query.Artist}}{{ .Query.Artist }}{{else}}{{ .Keywords }}{{end}}"
go-search: "Search"
rows:
selector: .smallalbum