mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Use album artist for listing artist albums
This commit is contained in:
parent
b065055635
commit
14a294a8ea
1 changed files with 2 additions and 4 deletions
|
@ -1216,11 +1216,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