Removed obsolete Score and Similiarity values for search

This commit is contained in:
JPVenson
2024-10-10 00:57:19 +00:00
parent 7f03f39bcc
commit 3e7ce5e1df
4 changed files with 0 additions and 9 deletions

View File

@@ -1708,7 +1708,6 @@ public sealed class BaseItemRepository(IDbContextFactory<JellyfinDbContext> dbPr
query = query.Where(e => e.Type == returnType && e.ItemValues!.Any(f => e.CleanName == f.CleanValue && itemValueTypes.Any(w => (ItemValueType)w == f.Type)));
if (filter.OrderBy.Count != 0
|| filter.SimilarTo is not null
|| !string.IsNullOrEmpty(filter.SearchTerm))
{
query = ApplyOrder(query, filter);