mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-28 17:53:16 -04:00
Sort special features same as other spots, removing unnecssary function
Added to contributors
This commit is contained in:
parent
0246ba1fb4
commit
c71d6f2358
3 changed files with 3 additions and 14 deletions
|
@ -233,7 +233,8 @@ namespace Jellyfin.Api.Controllers
|
|||
var dtoOptions = new DtoOptions().AddClientFields(Request);
|
||||
|
||||
return Ok(item
|
||||
.GetExtras(BaseItem.DisplayExtraTypes)
|
||||
.GetExtras()
|
||||
.Where(i => i.ExtraType.HasValue && BaseItem.DisplayExtraTypes.Contains(i.ExtraType.Value))
|
||||
.Select(i => _dtoService.GetBaseItemDto(i, dtoOptions, user, item)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue