Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: sort items in fuse #670

Merged
merged 1 commit into from
May 28, 2024
Merged

fix: sort items in fuse #670

merged 1 commit into from
May 28, 2024

Conversation

enpitsuLin
Copy link
Contributor

Add sortFn option in fuse.js to sorted search result in list by sorting options, also threshold option avoid to show less relevance modules, but not sure if 0.2 is an appropriate value(if no threshold basically all modules will be displayed and will break sorting options😇)

fixed #669

@antfu antfu merged commit 8d052be into nuxt:main May 28, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix: can't sort when search some keyword in module install list
2 participants