Description
Sponsorship
If this request requires additional support (e.g., such as direct email/phone/meeting/development), I have the following interest in helping to sponsor the effot via GitHub Sponsors:
- None, please continute to work for me for free :P
- Absolutely, I get value out of this!
- Maybe later
- I'm already a sponsor... Woot!
Describe the bug
When performing a search on the Search Results page, the results message displays "X products found," where "X" represents the number of products found. However, "X" currently only reflects the number of items on the active page rather than the total number of search results. This can be confusing for the user, as the number does not reflect the total paginated results.
Software Versions
- DNN: 09.13.03
- Hotcakes: 03.08.01
To Reproduce
Steps to reproduce the behavior:
- Perform a search on the Search Results page.
- Observe the results message that indicates the number of products found.
- Notice that the number displayed reflects only the items visible on the current page instead of the total results.
Expected behavior
The results message should display the total number of products found across all pages of the search, not just the items on the active page.
Actual behavior
The results message only shows the number of products found on the active page.
Proposed Solution
Modify the count logic to reflect the total number of search results across all pages, not just the visible results on the current page.
Additional Notes
This adjustment will help improve clarity for users, allowing them to see the total number of search results regardless of pagination.