Selaa lähdekoodia

Merge pull request #9613 from bradbeattie/patch-1

Bond-009 2 vuotta sitten
vanhempi
sitoutus
c0b7f77c34
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      Emby.Server.Implementations/Data/SqliteItemRepository.cs

+ 1 - 0
Emby.Server.Implementations/Data/SqliteItemRepository.cs

@@ -2392,6 +2392,7 @@ namespace Emby.Server.Implementations.Data
 
                 // genres, tags, studios, person, year?
                 builder.Append("+ (Select count(1) * 10 from ItemValues where ItemId=Guid and CleanValue in (select CleanValue from ItemValues where ItemId=@SimilarItemId))");
+                builder.Append("+ (Select count(1) * 10 from People where ItemId=Guid and Name in (select Name from People where ItemId=@SimilarItemId))");
 
                 if (item is MusicArtist)
                 {