Skip to content
Snippets Groups Projects

Fix issue with artist embed

Merged Ciarán Ainsworth requested to merge fix-broken-artist-embed into develop
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -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/`)
Loading