filter search suggestions so the search query isn't suggested twice #32
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
dependencies
Epic
good first issue
hacktoberfest
help wanted
icebox
Invalid
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
resilience
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry-redux#32
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "search"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If the search suggestion api returns a query that is the same as the one the user typed in the search bar, we should remove it so there aren't two identical search suggestions.
Fixes https://github.com/lbryio/lbry-app/issues/1495
@ -115,4 +110,3 @@
});
} catch (e) {
suggestions.push({
value: query,
We were dispatching twice with the same data. Don't need this
Looks good.