Search tags as well

pull/8842/head
Brad Beattie 2 years ago
parent 51c21143d4
commit ab145c5ddc

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

Loading…
Cancel
Save