Problem/Motivation
Pager doesn't work correctly on a page consisting of two blocks of which only one with ajax.
Pager of the block with ajax reproduces the choice of the pager of the block without ajax.
Steps to reproduce
- Create 6 pieces of contents.
- Create a view to display these content and select Pager -> Use pager: Full - Paged, 2 items
- Create a view block 'block without ajax'
- Create a view block 'block with ajax' and select Advanced -> Other -> Use AJAX: Yes
- Place block 'block without ajax' and 'block with ajax' on 'Content' region ('Block Layout')
- Visit page with these 2 blocks
- Click on pager 'page 2' of 'block without ajax'
Expected behavior
'block without ajax' display page 2
'block with ajax' display page 1
Actual behavior
'block without ajax' display page 2
'block with ajax' display page 2 as well
Comments
Comment #2
cilefen commentedComment #6
ammar qala commentedOpen your view -> pager settings -> change the "Pager ID"
Comment #7
thibOk, thank you @a.quala, I didn't know this trick.
All works fine now !!
Comment #8
ammar qala commented