mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Search tags as well
This commit is contained in:
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…
x
Reference in New Issue
Block a user