From a29486cfad694fd32a8c6c9647c92813ce55a33b Mon Sep 17 00:00:00 2001 From: Mikal Stordal Date: Sun, 7 Jan 2024 19:20:10 +0100 Subject: [PATCH] fix: allow lower rated matches in fuzzy search --- Shoko.Server/Utilities/SeriesSearch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shoko.Server/Utilities/SeriesSearch.cs b/Shoko.Server/Utilities/SeriesSearch.cs index 0361ed9a2..0eddbc7b7 100644 --- a/Shoko.Server/Utilities/SeriesSearch.cs +++ b/Shoko.Server/Utilities/SeriesSearch.cs @@ -94,7 +94,7 @@ public static SearchResult DiceFuzzySearch(string text, string pattern, T if (text.Length < 5 && result > 0.5) return new(); - if (result >= 0.8) + if (result > 1.0) return new(); return new()