From 856c49b4aef8e886383a8e6f4275d198f32f31c4 Mon Sep 17 00:00:00 2001 From: Von Date: Tue, 4 Dec 2018 09:09:58 +0000 Subject: [PATCH] Fix #608: Update Track.vue in order to use the correct search format on lyrics.wikia.com --- changes/changelog.d/608.bugfix | 1 + front/src/components/library/Track.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changes/changelog.d/608.bugfix diff --git a/changes/changelog.d/608.bugfix b/changes/changelog.d/608.bugfix new file mode 100644 index 000000000..eb2b7dbec --- /dev/null +++ b/changes/changelog.d/608.bugfix @@ -0,0 +1 @@ +Fixed malformed search string when redirecting to LyricsWiki (#608) \ No newline at end of file diff --git a/front/src/components/library/Track.vue b/front/src/components/library/Track.vue index a66b240f5..707ba27ff 100644 --- a/front/src/components/library/Track.vue +++ b/front/src/components/library/Track.vue @@ -228,7 +228,7 @@ export default { }, lyricsSearchUrl() { 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) }, cover() {