Update Jellyfin.Api/Controllers/FilterController.cs

Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
pull/3269/head
Cody Robibero 5 years ago committed by GitHub
parent 393f5f0c25
commit 355682620d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -62,10 +62,10 @@ namespace Jellyfin.Api.Controllers
? null ? null
: _userManager.GetUserById(userId.Value); : _userManager.GetUserById(userId.Value);
if (string.Equals(includeItemTypes, nameof(BoxSet), StringComparison.OrdinalIgnoreCase) || if (string.Equals(includeItemTypes, nameof(BoxSet), StringComparison.OrdinalIgnoreCase)
string.Equals(includeItemTypes, nameof(Playlist), StringComparison.OrdinalIgnoreCase) || || string.Equals(includeItemTypes, nameof(Playlist), StringComparison.OrdinalIgnoreCase)
string.Equals(includeItemTypes, nameof(Trailer), StringComparison.OrdinalIgnoreCase) || || string.Equals(includeItemTypes, nameof(Trailer), StringComparison.OrdinalIgnoreCase)
string.Equals(includeItemTypes, "Program", StringComparison.OrdinalIgnoreCase)) || string.Equals(includeItemTypes, "Program", StringComparison.OrdinalIgnoreCase))
{ {
parentItem = null; parentItem = null;
} }

Loading…
Cancel
Save