Skip to content

Commit

Permalink
fix: improved survey search (#29372)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
lucasheriques and github-actions[bot] authored Feb 28, 2025
1 parent a074f96 commit 79bc54b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/scenes/surveys/surveysLogic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ export const surveysLogic = kea<surveysLogicType>([
if (searchTerm) {
searchedSurveys = new Fuse(searchedSurveys, {
keys: ['key', 'name'],
ignoreLocation: true,
threshold: 0.3,
})
.search(searchTerm)
Expand Down

0 comments on commit 79bc54b

Please sign in to comment.