Merge pull request #8842 from bradbeattie/master

This commit is contained in:
Bond-009 authored and GitHub committed 2022-12-11 20:27:44 +01:00
commit d34ded211e
1 file changed
+1
@@ -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");