mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update artist lists
This commit is contained in:
parent
b2d97de513
commit
c498998d9f
2 changed files with 7 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue