From 40178640e2048e2610d277dfcbb30ad061eb31ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciar=C3=A1n=20Ainsworth?= Date: Wed, 15 Jul 2020 17:12:27 +0100 Subject: [PATCH] Fix issue with artist embed --- front/src/EmbedFrame.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/EmbedFrame.vue b/front/src/EmbedFrame.vue index afee7c82f..19ab1a3b8 100644 --- a/front/src/EmbedFrame.vue +++ b/front/src/EmbedFrame.vue @@ -238,7 +238,7 @@ export default { this.fetchTracks({channel: id, playable: true, include_channels: 'true', ordering: "-creation_date"}) } if (type === 'artist') { - this.fetchTracks({artist: id, playable: true, include_channels: 'true', ordering: "-release_date,disc_number,position"}) + this.fetchTracks({artist: id, playable: true, include_channels: 'true', ordering: "-album__release_date,disc_number,position"}) } if (type === 'playlist') { this.fetchTracks({}, `/api/v1/playlists/${id}/tracks/`)