|
|
@ -2462,6 +2462,7 @@ namespace Emby.Server.Implementations.Data
|
|
|
|
if (query.SearchTerm.Length > 1)
|
|
|
|
if (query.SearchTerm.Length > 1)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
builder.Append("+ ((CleanName like @SearchTermContains or (OriginalTitle not null and OriginalTitle like @SearchTermContains)) * 10)");
|
|
|
|
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");
|
|
|
|
builder.Append(") as SearchScore");
|
|
|
|