Skip to content
Snippets Groups Projects
Commit 758d7884 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch '1006-adding-album-mixes-up-tracks-if-multiple-discs-present' into 'develop'

Resolve "Adding album mixes up tracks if multiple discs present"

Closes #1006

See merge request funkwhale/funkwhale!984
parents f46100a8 d251d31c
No related branches found
No related tags found
No related merge requests found
Resolve an issue where disc numbers were not taken into consideration when playing an album from the album card (#1006)
\ No newline at end of file
......@@ -189,10 +189,10 @@ export default {
resolve(tracks)
})
} else if (self.artist) {
let params = {'artist': self.artist.id, 'ordering': 'album__release_date,position'}
let params = {'artist': self.artist.id, 'ordering': 'album__release_date,disc_number,position'}
self.getTracksPage(1, params, resolve)
} else if (self.album) {
let params = {'album': self.album.id, 'ordering': 'position'}
let params = {'album': self.album.id, 'ordering': 'disc_number,position'}
self.getTracksPage(1, params, resolve)
}
})
......
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