Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search pagination displays no content when switching between sections and one section has more pages then the other #1170

Closed
jkelly-cas opened this issue Feb 23, 2018 · 2 comments · Fixed by #1641

Comments

@jkelly-cas
Copy link

Note, the Cornerstone demo, does not have enough content to view this issue, but is reproducible.

Expected behavior

When switching between sections on a search, if one section has 100 items, and the other has 10, if you're viewing content on page=4, and switch to the other section, it should show either it's last page, or reset the pagination.

Actual behavior

When using the pagination, and switching between sections, the page counter is not adjusted or reset, and wrongly displays no content.

Steps to reproduce behavior

Search a term that has pages worth of products, and a few blog posts, and use the pagination til it's above the page amount of the blog section ( or vice versa ), and switch sections. The page counter doesn't adjust itself to reflect the page amount discrepancy, and shows no items.
image

This is more readily viewable when both sections have a discrepancy in page numbers.

@funvill
Copy link

funvill commented Apr 4, 2018

@davidwrpayne
Copy link

Duplicate of #1312

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants