-
Notifications
You must be signed in to change notification settings - Fork 204
fix: can't sort when search some keyword in module install listΒ #669
Description
π The bug
Navigate to the modules tab and click Install New Module
if there are no search key word, sort option will work properly, but input something will break its functional, can't show sorted items as it should be
π οΈ To reproduce
https://stackblitz.com/github/nuxt/starter/tree/v3
π Expected behavior
if user input some keyword then change sort key or toggle order, the module list should show sorted list of search result rather just search result
βΉοΈ Additional context
When I want add some module and input keyword like 'auth' and I got Hebilicious/authjs-nuxt on the top of list instead sidebase, but the latter has more installed and stars than former, it confuse me.
and also found change sort option and click toggle order button there are nothing happen, it's broken
I think fundamental problem is fuse.js after checking code of this part, I will open a PR later