Skip to content
Snippets Groups Projects
Commit d251d31c authored by Ciarán Ainsworth's avatar Ciarán Ainsworth Committed by Eliot Berriot
Browse files

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

parent f46100a8
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