The Free Software Media System - Server Backend & API
Fix OfficialRatings separator
crobiberodd3507bbbfd6
diff --git a/Jellyfin.Api/Controllers/ArtistsController.cs b/Jellyfin.Api/Controllers/ArtistsController.csindex 24ccdecb72..59d3ae2e11 100644--- a/Jellyfin.Api/Controllers/ArtistsController.cs+++ b/Jellyfin.Api/Controllers/ArtistsController.cs@@ -147,7 +147,7 @@ namespace Jellyfin.Api.ControllersNameStartsWith = nameStartsWith,NameStartsWithOrGreater = nameStartsWithOrGreater,Tags = RequestHelpers.Split(tags, '|', true),- OfficialRatings = RequestHelpers.Split(officialRatings, ',', true),+ OfficialRatings = RequestHelpers.Split(officialRatings, '|', true),Genres = RequestHelpers.Split(genres, '|', true),GenreIds = RequestHelpers.GetGuids(genreIds),StudioIds = RequestHelpers.GetGuids(studioIds),@@ -356,7 +356,7 @@ namespace Jellyfin.Api.ControllersNameStartsWith = nameStartsWith,NameStartsWithOrGreater = nameStartsWithOrGreater,Tags = RequestHelpers.Split(tags, '|', true),- OfficialRatings = RequestHelpers.Split(officialRatings, ',', true),+ OfficialRatings = RequestHelpers.Split(officialRatings, '|', true),Genres = RequestHelpers.Split(genres, '|', true),GenreIds = RequestHelpers.GetGuids(genreIds),StudioIds = RequestHelpers.GetGuids(studioIds),diff --git a/Jellyfin.Api/Controllers/StudiosController.cs b/Jellyfin.Api/Controllers/StudiosController.csindex 45398dfd3c..b3c345dd4b 100644--- a/Jellyfin.Api/Controllers/StudiosController.cs+++ b/Jellyfin.Api/Controllers/StudiosController.cs@@ -146,7 +146,7 @@ namespace Jellyfin.Api.ControllersNameStartsWith = nameStartsWith,NameStartsWithOrGreater = nameStartsWithOrGreater,Tags = RequestHelpers.Split(tags, '|', true),- OfficialRatings = RequestHelpers.Split(officialRatings, ',', true),+ OfficialRatings = RequestHelpers.Split(officialRatings, '|', true),Genres = RequestHelpers.Split(genres, '|', true),GenreIds = RequestHelpers.GetGuids(genreIds),StudioIds = RequestHelpers.GetGuids(studioIds),