appbaseio / appbaseio/reactivesearch
Change CategorySearch url to an object type
Open
enhancement
web :spider_web:
- Dominant language
- JavaScript
- Stars
- 4.9k
- Forks
- 478
- PR merge metrics
- No merged PRs in 30d
Description
**Issue Type:**
Enhancement
**Platform:**
Web
**Description:**
Currently `CategorySearch` sets its url as a string. This is true even if the suggestion selected belonged to a category. Now, if the page is refreshed the search will happen for all categories `*` thereby leading to inconsistent results.
The same behavior puts some limitations on when one would want to redirect to different route with `onValueSelected`. There is no way to tell the new page on which category to perform the search.
**Reactivesearch version:** x.y.z
2.6.12
Contributor guide
Assessment
This issue has not been assessed yet.