Fix issue with artist embed

environments/review-docs-devel-1399dq/deployments/6607
Ciarán Ainsworth 2020-07-15 17:12:27 +01:00
rodzic 6e3656aaeb
commit 40178640e2
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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/`)