update artist lists

This commit is contained in:
Luke Pulverenti 2016-11-29 14:13:01 -05:00
parent b2d97de513
commit c498998d9f
2 changed files with 7 additions and 3 deletions

View File

@ -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;

View File

@ -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);