diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2020-11-10 23:09:47 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-10 23:09:47 +0100 |
| commit | a51ea55537a8f18c16184c8becf1a7a6f1722b23 (patch) | |
| tree | ca717d1e85f282e3e47dedf3c1742fc032105daa /Jellyfin.Api/Controllers/TrailersController.cs | |
| parent | dc3b3bcfb1881743c078d13a100dc8f751ce6dff (diff) | |
| parent | f5b301dea66c6dd88ced57c0dbedf21b54145b5c (diff) | |
Merge pull request #4302 from crobibero/query-fields
Convert field string to enum.
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 6b4eee718..d78adcbcd 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] string? fields, + [FromQuery, ModelBinder(typeof(CommaDelimitedArrayModelBinder))] ItemFields[] fields, [FromQuery] string? excludeItemTypes, [FromQuery, ModelBinder(typeof(CommaDelimitedArrayModelBinder))] ItemFilter[] filters, [FromQuery] bool? isFavorite, |
