Merge branch 'patch-1' into 'develop'

Fix #608: Update Track.vue in order to use the correct search format on lyrics.wikia.com

Closes #608

See merge request funkwhale/funkwhale!483
This commit is contained in:
Eliot Berriot 2018-12-04 09:09:58 +00:00
commit e97f1f0e0b
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
Fixed malformed search string when redirecting to LyricsWiki (#608)

View File

@ -228,7 +228,7 @@ export default {
}, },
lyricsSearchUrl() { lyricsSearchUrl() {
let base = "http://lyrics.wikia.com/wiki/Special:Search?query=" let base = "http://lyrics.wikia.com/wiki/Special:Search?query="
let query = this.track.artist.name + " " + this.track.title let query = this.track.artist.name + ":" + this.track.title
return base + encodeURI(query) return base + encodeURI(query)
}, },
cover() { cover() {