Merge pull request #3628 from thornbill/actually-fix-artist-albums
(cherry picked from commit d606a2aad55d1614f24177c0bc55df8009a58f83) Signed-off-by: Joshua Boniface <joshua@boniface.me>
This commit is contained in:
committed by
Joshua Boniface
parent
39dccfcd70
commit
34b2018610
@@ -1182,9 +1182,9 @@ function renderMoreFromArtist(view, item, apiClient) {
|
||||
};
|
||||
|
||||
if (item.Type === 'MusicArtist') {
|
||||
query.AlbumArtistIds = item.Id;
|
||||
query.ContributingArtistIds = item.Id;
|
||||
} else {
|
||||
query.AlbumArtistIds = item.AlbumArtists[0].Id;
|
||||
query.ContributingArtistIds = item.AlbumArtists.map(artist => artist.Id).join(',');
|
||||
}
|
||||
|
||||
apiClient.getItems(apiClient.getCurrentUserId(), query).then(function (result) {
|
||||
|
||||
Reference in New Issue
Block a user