Skip to content
This repository has been archived by the owner on Jun 14, 2022. It is now read-only.

Post/Page Grid block: Number of Pages displayed is incorrectly limited #389

Open
mindctrl opened this issue Jul 8, 2020 · 0 comments
Open
Labels
bug Something isn't working

Comments

@mindctrl
Copy link
Contributor

mindctrl commented Jul 8, 2020

Describe the bug
When the Content Type is set to Page, it's possible the block doesn't display all the Pages selected.

This appears to be caused by the default attribute value for postsToShow being set to 6, even though it's not used by the page query. I have not dug deep to verify.

To Reproduce
Steps to reproduce the behavior:

  1. Add Post and Page Grid block to a new page
  2. Change Content Type to Page
  3. Select 7 or more pages
  4. Save new page
  5. View new page
  6. Notice only 6 pages are shown instead of 7 or more

Expected behavior
I expect the block to display all of the pages I selected.

Version

  • latest
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant