diff options
| author | Bond-009 <bond.009@outlook.com> | 2022-12-11 20:27:44 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-11 20:27:44 +0100 |
| commit | d34ded211e6bea3697803926efdb79205b150c19 (patch) | |
| tree | ed91d6d4fd3fa453c25fa74fdb1c7f713c2c89b2 /Emby.Server.Implementations/Data/SqliteItemRepository.cs | |
| parent | 78d3bc9c8bf8586a3ea1b8eafcd118c952aa6b39 (diff) | |
| parent | ab145c5ddcf9cb62bacafe690b4e8341c777dfb4 (diff) | |
Merge pull request #8842 from bradbeattie/master
Diffstat (limited to 'Emby.Server.Implementations/Data/SqliteItemRepository.cs')
| -rw-r--r-- | Emby.Server.Implementations/Data/SqliteItemRepository.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.cs index fa9d7dea2..151476260 100644 --- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs +++ b/Emby.Server.Implementations/Data/SqliteItemRepository.cs @@ -2461,6 +2461,7 @@ namespace Emby.Server.Implementations.Data if (query.SearchTerm.Length > 1) { builder.Append("+ ((CleanName like @SearchTermContains or (OriginalTitle not null and OriginalTitle like @SearchTermContains)) * 10)"); + builder.Append("+ ((Tags not null and Tags like @SearchTermContains) * 5)"); } builder.Append(") as SearchScore"); |
