mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 05:57:20 -04:00
Merge pull request #2332 from pR0Ps/bugfix/dlna
Fix another issue with DLNA responses not properly paginating
This commit is contained in:
commit
1ed92b05fb
1 changed files with 1 additions and 8 deletions
|
@ -60,14 +60,7 @@ namespace MediaBrowser.Controller.Entities
|
|||
PresetViews = query.PresetViews
|
||||
});
|
||||
|
||||
var itemsArray = result;
|
||||
var totalCount = itemsArray.Length;
|
||||
|
||||
return new QueryResult<BaseItem>
|
||||
{
|
||||
TotalRecordCount = totalCount,
|
||||
Items = itemsArray //TODO Fix The co-variant conversion between Folder[] and BaseItem[], this can generate runtime issues.
|
||||
};
|
||||
return UserViewBuilder.SortAndPage(result, null, query, LibraryManager, true);
|
||||
}
|
||||
|
||||
public override int GetChildCount(User user)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue