Explorar o código

Merge pull request #9613 from bradbeattie/patch-1

Bond-009 %!s(int64=2) %!d(string=hai) anos
pai
achega
c0b7f77c34
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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)
                 {