1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

reduce image indicator sizes

This commit is contained in:
Luke Pulverenti 2014-01-01 22:53:27 -05:00
parent 7743b36bc9
commit bcb4b9da33
11 changed files with 46 additions and 28 deletions

View file

@ -522,15 +522,17 @@
function renderChildren(page, item, user) {
var sortBy = item.Type == "BoxSet" ? "ProductionYear,SortName" : "SortName";
var fields = "ItemCounts,DateCreated,AudioInfo,PrimaryImageAspectRatio";
var query = {
ParentId: item.Id,
SortBy: sortBy,
Fields: fields
};
// Let the server pre-sort boxsets
if (item.Type !== "BoxSet") {
query.SortBy = "SortName";
}
var promise;