Explorar o código

Fix Genre type (#13862)

Tim Eisele hai 2 meses
pai
achega
b65e03da9a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Jellyfin.Server.Implementations/Item/BaseItemRepository.cs

+ 1 - 1
Jellyfin.Server.Implementations/Item/BaseItemRepository.cs

@@ -68,7 +68,7 @@ public sealed class BaseItemRepository
     private static readonly IReadOnlyList<ItemValueType> _getArtistValueTypes = [ItemValueType.Artist];
     private static readonly IReadOnlyList<ItemValueType> _getAlbumArtistValueTypes = [ItemValueType.AlbumArtist];
     private static readonly IReadOnlyList<ItemValueType> _getStudiosValueTypes = [ItemValueType.Studios];
-    private static readonly IReadOnlyList<ItemValueType> _getGenreValueTypes = [ItemValueType.Studios];
+    private static readonly IReadOnlyList<ItemValueType> _getGenreValueTypes = [ItemValueType.Genre];
 
     /// <summary>
     /// Initializes a new instance of the <see cref="BaseItemRepository"/> class.