mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07:00
remove unneeded filters
This commit is contained in:
parent
fdc37a2b58
commit
20aa8ec75b
@ -144,7 +144,6 @@ namespace MediaBrowser.Api.Movies
|
||||
|
||||
var parentIds = string.IsNullOrWhiteSpace(request.ParentId) ? new string[] { } : new[] { request.ParentId };
|
||||
var movies = _libraryManager.GetItemList(query, parentIds);
|
||||
movies = _libraryManager.ReplaceVideosWithPrimaryVersions(movies);
|
||||
|
||||
var listEligibleForCategories = new List<BaseItem>();
|
||||
var listEligibleForSuggestion = new List<BaseItem>();
|
||||
|
@ -508,8 +508,7 @@ namespace MediaBrowser.Api
|
||||
returnItems = UserViewBuilder.FilterForAdjacency(returnItems, request.AdjacentTo);
|
||||
}
|
||||
|
||||
var returnList = _libraryManager.ReplaceVideosWithPrimaryVersions(returnItems)
|
||||
.ToList();
|
||||
var returnList = returnItems.ToList();
|
||||
|
||||
var pagedItems = ApplyPaging(returnList, request.StartIndex, request.Limit);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user