-
Notifications
You must be signed in to change notification settings - Fork 172
Open
Description
Description
In the CardSet.js component, there is a typo in the starsQuery logic where reducedState.minForks is incorrectly used instead of reducedState.minStars when setting the minimum stars filter for GitHub API queries. This causes the star count filter to incorrectly use the forks value, leading to inaccurate repository search results.
Proposed Fix
Replace reducedState.minForks with reducedState.minStars in the setStarsQuery function within the onAppliedFilters method in src/components/CardSet.js. Specifically, update the following line:
Current:
setStarsQuery(`stars:>=${reducedState.minForks}`);Proposed:
setStarsQuery(`stars:>=${reducedState.minStars}`);Assignee
I would like to be assigned to this issue to implement the fix.
Metadata
Metadata
Assignees
Labels
No labels