mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 09:09:16 +02:00
Fix issue with artist embed
This commit is contained in:
parent
6e3656aaeb
commit
40178640e2
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ export default {
|
||||||
this.fetchTracks({channel: id, playable: true, include_channels: 'true', ordering: "-creation_date"})
|
this.fetchTracks({channel: id, playable: true, include_channels: 'true', ordering: "-creation_date"})
|
||||||
}
|
}
|
||||||
if (type === 'artist') {
|
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') {
|
if (type === 'playlist') {
|
||||||
this.fetchTracks({}, `/api/v1/playlists/${id}/tracks/`)
|
this.fetchTracks({}, `/api/v1/playlists/${id}/tracks/`)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue