Skip to content

Commit

Permalink
Distinct search completions to fix #1359 搜索崩溃
Browse files Browse the repository at this point in the history
  • Loading branch information
Him188 committed Dec 22, 2024
1 parent f396a5f commit f3e1971
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class BangumiSubjectSearchCompletionRepository(
)

LoadResult.Page(
data = completions,
data = completions.distinct(),
prevKey = null,
nextKey = null,
)
Expand Down

0 comments on commit f3e1971

Please sign in to comment.