mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
support custom ordering of user views
This commit is contained in:
parent
4685d0f254
commit
46f50bae6a
11 changed files with 203 additions and 206 deletions
|
@ -2119,16 +2119,8 @@
|
|||
url = "css/images/items/detail/video.png";
|
||||
}
|
||||
|
||||
var identifierName = "id";
|
||||
var identifierValue = item.Id;
|
||||
|
||||
if (item.Type == "Person" || item.Type == "Genre" || item.Type == "Studio" || item.Type == "MusicArtist" || item.Type == "MusicGenre" || item.Type == "GameGenre") {
|
||||
identifierName = item.Type;
|
||||
identifierValue = ApiClient.encodeName(item.Name);
|
||||
}
|
||||
|
||||
if (!href) {
|
||||
href = "itemgallery.html?" + identifierName + "=" + identifierValue;
|
||||
href = "itemgallery.html?id=" + item.Id;
|
||||
}
|
||||
|
||||
var linkToGallery = LibraryBrowser.shouldDisplayGallery(item);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue