mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add extra multi-episode unit test
This commit is contained in:
parent
dba69cf2cd
commit
d1da613d04
2 changed files with 3 additions and 4 deletions
|
@ -141,7 +141,7 @@
|
|||
$('#trailersCollapsible', page).removeClass('hide');
|
||||
renderTrailers(page, item);
|
||||
}
|
||||
if (!item.SpecialFeatureCount || item.SpecialFeatureCount == 0) {
|
||||
if (!item.SpecialFeatureCount || item.SpecialFeatureCount == 0 || item.Type == "Series") {
|
||||
$('#specialsCollapsible', page).addClass('hide');
|
||||
} else {
|
||||
$('#specialsCollapsible', page).removeClass('hide');
|
||||
|
@ -437,8 +437,7 @@
|
|||
|
||||
ParentId: item.Id,
|
||||
SortBy: sortBy,
|
||||
Fields: "PrimaryImageAspectRatio,ItemCounts,DisplayMediaType,DateCreated,UserData,AudioInfo",
|
||||
MinIndexNumber: item.Type == "Series" ? 1 : null
|
||||
Fields: "PrimaryImageAspectRatio,ItemCounts,DisplayMediaType,DateCreated,UserData,AudioInfo"
|
||||
|
||||
}).done(function (result) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue