mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixes #640 - Add management filters
This commit is contained in:
parent
c6dd5d44df
commit
0605bfbaaa
9 changed files with 294 additions and 116 deletions
|
@ -516,17 +516,16 @@
|
|||
userId: Dashboard.getCurrentUserId()
|
||||
});
|
||||
}
|
||||
else if (item.Type == "Season" && item.IndexNumber != null) {
|
||||
else if (item.Type == "Season") {
|
||||
|
||||
if (item.IndexNumber == null) {
|
||||
|
||||
// If there's no known season number, just use generic folder browsing
|
||||
if (!user.Configuration.DisplayMissingEpisodes) {
|
||||
query.IsMissing = false;
|
||||
}
|
||||
if (!user.Configuration.DisplayUnairedEpisodes) {
|
||||
query.IsVirtualUnaired = false;
|
||||
}
|
||||
// Use dedicated episodes endpoint
|
||||
promise = ApiClient.getEpisodes(item.SeriesId, {
|
||||
|
||||
seasonId: item.Id,
|
||||
userId: Dashboard.getCurrentUserId()
|
||||
});
|
||||
} else {
|
||||
|
||||
// Use dedicated episodes endpoint
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue