Search tags as well

This commit is contained in:
Brad Beattie 2022-12-05 17:38:51 -08:00
parent 51c21143d4
commit ab145c5ddc

View File

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