8000 The total number of search results only shows the items on the current page instead of all results · Issue #500 · HotcakesCommerce/hotcakes-commerce-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
The total number of search results only shows the items on the current page instead of all results #500
Closed
@libanlsilva

Description

@libanlsilva

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:

  1. Perform a search on the Search Results page.
  2. Observe the results message that indicates the number of products found.
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0