Skip to content
Snippets Groups Projects
Commit 0e3cf353 authored by Agate's avatar Agate 💬
Browse files

Merge branch 'fix-broken-artist-embed' into 'develop'

Fix issue with artist embed

See merge request funkwhale/funkwhale!1166
parents 6e3656aa 40178640
No related branches found
No related tags found
No related merge requests found
......@@ -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/`)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment