Skip to content

Commit

Permalink
fix: remove unneeded comparer on custom tags in filter expression
Browse files Browse the repository at this point in the history
  • Loading branch information
revam committed Nov 4, 2024
1 parent 2014ab7 commit 873f85b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shoko.Server/Filters/FilterExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,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(StringComparer.InvariantCultureIgnoreCase) ?? [],
series.AniDB_Anime?.CustomTags.Select(a => a.TagName).ToHashSet() ?? [],
YearsDelegate = () =>
series.Years,
SeasonsDelegate = () =>
Expand Down

0 comments on commit 873f85b

Please sign in to comment.