Merge pull request #8842 from bradbeattie/master

This commit is contained in:
Bond-009 2022-12-11 20:27:44 +01:00 committed by GitHub
commit d34ded211e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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");