- Issue created by @FrankieD3
- π³πΏNew Zealand danielveza Brisbane, AU
Confirming that I can replicate this on D11, so updating the version.
It's a strange one. 2x pagers render specfically when embedding a views block in LB, but only on taxonomy term pages. An additional mini pager is rendered along with the one that comes from the view.
If you embed a block through the block management on a term without Layout Builder, it works as expected. I changed theme and the issue still happened, so it doesn't appear to be a theme issue.
Spent a bit of time trying to track this down but couldn't manage it. Leaving these notes here to pick up later.
- π¬π§United Kingdom catch
Is this reproducible on 10.2.x? Might need a git bisect potentially.
- πΊπΈUnited States FrankieD3
I can confirm that this is reproducible in 10.2.x, as well as the additional pager render mentioned in #2.
- π³πΏNew Zealand danielveza Brisbane, AU
Ah ok - I tracked this down.
This issue stems from the fact that
/taxonomy/term/X
is already a view page, that also embeds terms in the view header. The workaround is to disable the taxonomy term view, since it's not needed if you're using LB with a term page.This feels like a pretty painful spider web to untangle, I wonder if we should add a warning when you enable LB on a vocab display to make sure that either the view is disabled or a filter has been added to the view so exclude this particular vocab
- π¬π§United Kingdom catch
This issue stems from the fact that /taxonomy/term/X is already a view page, that also embeds terms in the view header. The workaround is to disable the taxonomy term view, since it's not needed if you're using LB with a term page.
Wait so was the taxonomy/term/x view executing but not rendering? Or both views were rendered on the page?
- πΊπ¦Ukraine rollins
This issue is not only for taxonomy terms.
I am rendering commerce orders and have the same bug.
The pager does not appear on the layout builder page.
Drupal core 10.3.1 - π³π±Netherlands johnv
This seems to be a problem with ajax pager on any view.
- π³π±Netherlands mrcdrx
I can confirm this issue. In Views I've set the amount of items to show to 9. In the placement of the block in Layout Builder I've set the amount to 3. The pager works, but after going back to the first page, the setting of the Layout Builder placement is ignored and the inital setting of the View is being used.