From e3089b0f8f20dc4247db7bab7dfe2c4feb14cabd Mon Sep 17 00:00:00 2001 From: Mikal Stordal Date: Thu, 26 Dec 2024 21:51:41 +0100 Subject: [PATCH] revert: revert "fix: remove unneeded comparer on custom tags in filter expression" My bad. it was not unneeded, but necessary. This reverts commit 873f85b950c0b55ee1421b4b5e01cb976f8d5f6d. --- Shoko.Server/Filters/FilterExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shoko.Server/Filters/FilterExtensions.cs b/Shoko.Server/Filters/FilterExtensions.cs index 811dc24cf..fe26a76d5 100644 --- a/Shoko.Server/Filters/FilterExtensions.cs +++ b/Shoko.Server/Filters/FilterExtensions.cs @@ -54,7 +54,7 @@ public static Filterable ToFilterable(this SVR_AnimeSeries series) TagsDelegate = () => series.AniDB_Anime?.Tags.Select(a => a.TagName).ToHashSet() ?? [], CustomTagsDelegate = () => - series.AniDB_Anime?.CustomTags.Select(a => a.TagName).ToHashSet() ?? [], + series.AniDB_Anime?.CustomTags.Select(a => a.TagName).ToHashSet(StringComparer.InvariantCultureIgnoreCase) ?? [], YearsDelegate = () => series.Years, SeasonsDelegate = () =>