mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #2758 from thornbill/fix-artist-albums
This commit is contained in:
commit
4dc85346d8
1 changed files with 2 additions and 4 deletions
|
@ -1224,11 +1224,9 @@ function renderMoreFromArtist(view, item, apiClient) {
|
||||||
};
|
};
|
||||||
|
|
||||||
if (item.Type === 'MusicArtist') {
|
if (item.Type === 'MusicArtist') {
|
||||||
query.ContributingArtistIds = item.Id;
|
query.AlbumArtistIds = item.Id;
|
||||||
} else if (apiClient.isMinServerVersion('3.4.1.18')) {
|
|
||||||
query.AlbumArtistIds = item.AlbumArtists[0].Id;
|
|
||||||
} else {
|
} else {
|
||||||
query.ArtistIds = item.AlbumArtists[0].Id;
|
query.AlbumArtistIds = item.AlbumArtists[0].Id;
|
||||||
}
|
}
|
||||||
|
|
||||||
apiClient.getItems(apiClient.getCurrentUserId(), query).then(function (result) {
|
apiClient.getItems(apiClient.getCurrentUserId(), query).then(function (result) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue