mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
update artist lists
This commit is contained in:
parent
b2d97de513
commit
c498998d9f
@ -321,11 +321,15 @@
|
|||||||
function getMoreItemsHref(item, type) {
|
function getMoreItemsHref(item, type) {
|
||||||
|
|
||||||
if (item.Type == 'Genre' || item.Type == 'MusicGenre' || item.Type == 'GameGenre') {
|
if (item.Type == 'Genre' || item.Type == 'MusicGenre' || item.Type == 'GameGenre') {
|
||||||
return 'secondaryitems.html?type=' + type + '&genreId=' + item.Id + '&parentId=' + params.topParentId;
|
return 'secondaryitems.html?type=' + type + '&genreId=' + item.Id;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item.Type == 'Studio') {
|
if (item.Type == 'Studio') {
|
||||||
return 'secondaryitems.html?type=' + type + '&studioId=' + item.Id + '&parentId=' + params.topParentId;
|
return 'secondaryitems.html?type=' + type + '&studioId=' + item.Id;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (item.Type == 'MusicArtist') {
|
||||||
|
return 'secondaryitems.html?type=' + type + '&artistId=' + item.Id;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 'secondaryitems.html?type=' + type + '&parentId=' + item.Id;
|
return 'secondaryitems.html?type=' + type + '&parentId=' + item.Id;
|
||||||
|
@ -223,7 +223,7 @@
|
|||||||
|
|
||||||
function getItemPromise() {
|
function getItemPromise() {
|
||||||
|
|
||||||
var id = params.genreId || params.studioId || params.parentId;
|
var id = params.genreId || params.studioId || params.artistId || params.parentId;
|
||||||
|
|
||||||
if (id) {
|
if (id) {
|
||||||
return ApiClient.getItem(Dashboard.getCurrentUserId(), id);
|
return ApiClient.getItem(Dashboard.getCurrentUserId(), id);
|
||||||
|
Loading…
Reference in New Issue
Block a user