aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Data/SqliteItemRepository.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2022-12-11 20:27:44 +0100
committerGitHub <noreply@github.com>2022-12-11 20:27:44 +0100
commitd34ded211e6bea3697803926efdb79205b150c19 (patch)
treeed91d6d4fd3fa453c25fa74fdb1c7f713c2c89b2 /Emby.Server.Implementations/Data/SqliteItemRepository.cs
parent78d3bc9c8bf8586a3ea1b8eafcd118c952aa6b39 (diff)
parentab145c5ddcf9cb62bacafe690b4e8341c777dfb4 (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.cs1
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");