diff options
| author | crobibero <cody@robibe.ro> | 2020-11-09 14:59:04 -0700 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-11-09 14:59:04 -0700 |
| commit | 0dd2b169a3d9b0c1b31cd83b4022c729e28f0d3b (patch) | |
| tree | 7899a196f0fce2ad788f25dfa962ad43ce857376 /Jellyfin.Api/Controllers/TrailersController.cs | |
| parent | 6748ba287d8cd9054072ce1ffc51c7aa8690e108 (diff) | |
Add ModelBinder to ItemFilter
Diffstat (limited to 'Jellyfin.Api/Controllers/TrailersController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/TrailersController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/TrailersController.cs b/Jellyfin.Api/Controllers/TrailersController.cs index 0806dc3e8..9532df42f 100644 --- a/Jellyfin.Api/Controllers/TrailersController.cs +++ b/Jellyfin.Api/Controllers/TrailersController.cs @@ -146,7 +146,7 @@ namespace Jellyfin.Api.Controllers [FromQuery] string? searchTerm, [FromQuery] string? sortOrder, [FromQuery] string? parentId, - [FromQuery] ItemFields[] fields, + [FromQuery, ModelBinder(typeof(CommaDelimitedArrayModelBinder))] ItemFields[] fields, [FromQuery] string? excludeItemTypes, [FromQuery, ModelBinder(typeof(CommaDelimitedArrayModelBinder))] ItemFilter[] filters, [FromQuery] bool? isFavorite, |
