diff --git a/dashboard-ui/scripts/itembynamedetailpage.js b/dashboard-ui/scripts/itembynamedetailpage.js index f6dd74bc5a..5be329b44d 100644 --- a/dashboard-ui/scripts/itembynamedetailpage.js +++ b/dashboard-ui/scripts/itembynamedetailpage.js @@ -321,11 +321,15 @@ function getMoreItemsHref(item, type) { 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') { - 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; diff --git a/dashboard-ui/scripts/secondaryitems.js b/dashboard-ui/scripts/secondaryitems.js index 57477e3de3..f5bdb4c5a7 100644 --- a/dashboard-ui/scripts/secondaryitems.js +++ b/dashboard-ui/scripts/secondaryitems.js @@ -223,7 +223,7 @@ function getItemPromise() { - var id = params.genreId || params.studioId || params.parentId; + var id = params.genreId || params.studioId || params.artistId || params.parentId; if (id) { return ApiClient.getItem(Dashboard.getCurrentUserId(), id);