diff options
| author | Brad Beattie <bradbeattie@gmail.com> | 2022-12-05 17:38:51 -0800 |
|---|---|---|
| committer | Brad Beattie <bradbeattie@gmail.com> | 2022-12-05 17:38:51 -0800 |
| commit | ab145c5ddcf9cb62bacafe690b4e8341c777dfb4 (patch) | |
| tree | 6b60b829356c3e39e3ee8e6ee007a19a352968e5 /Emby.Server.Implementations/Data/SqliteItemRepository.cs | |
| parent | 51c21143d477bece52f66d9d7c480546a9a26cf5 (diff) | |
Search tags as well
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 4f0a15df1..481939f4a 100644 --- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs +++ b/Emby.Server.Implementations/Data/SqliteItemRepository.cs @@ -2462,6 +2462,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"); |
