-
Notifications
You must be signed in to change notification settings - Fork 687
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Search Result Counts Match #2037
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Impressive 👏 I shouldn't be surprised how easy it was to re-use the Pagination component here, but I'm slightly surprised. Nice work!
@supernova-at Observations -
|
…/pwa-studio into supernova/97_search_result_count
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
This is giving me some minor PTSD, the logic seems more complicated that it needs to be, but I recall encountering the same problems with Category/ProductList. In the twenty minutes I've spent trying to simplify, I've only created infinite loops, so I'm good with this 😆
@supernova-at Same issue exists when selecting from suggestion box. |
@dpatil-magento great job! Fixed in 19d17c6. |
QA pass. @tjwiebell You can merge once it passes the review. |
Description
There are two places we show the count of a search result: in the autocomplete dropdown and on the search page itself. Unfortunately, these two places were calculating their values differently and so sometimes did not match.
This PR:
Related Issue
Closes JIRA-97.
Acceptance
Verification Stakeholders
Specification
Verification Steps
<Enter>
to execute the search and continue to the search pageScreenshots / Screen Captures (if appropriate)
Autocomplete
Search Page
Checklist