Posts block - duplicating posts block with category and changing tags/category, upon clicking load more button, it loads posts from a diff. category
Describe the bug Duplicating posts blocks with category and changing tags/category, upon clicking load more button, it loads posts from a diff. category
To Reproduce Steps to reproduce the behavior:
- Add a new page
- Add a Posts block
- Add Load More button in the block
- Add a specific category for the Posts displayed (e.g. Fruits) (Style > Query > Categories)
- Duplicate the Posts block
- In the duplicated block, change the category for the Posts displayed (e.g. Vegetables) (Style > Query > Categories)
- Preview page or publish page and View page
- In the first Posts block, click the Load More button
- Check if the posts are not related to the expected category assigned (Fruits) but posts related to the other category from 2nd post block (Vegetables)
- In the second Posts block, click the Load More button
- Check if the posts are related to the expected category assigned (Vegetables)
Expected behavior Scenario: Posts block 1 - Category: Fruits - Should display posts that has the category Fruits Posts block 2 - Category: Vegetables - Should display posts that has the category Vegetables
Actual behavior Posts block 1 - Category: Fruits - Displays posts that has the category Fruits but upon clicking Load More, it displays posts from category Vegetables - WRONG Posts block 2 - Category: Vegetables - Displays posts that has the category Vegetables and upon clicking Load More, it displays posts from category Vegetables - CORRECT
Screenshots
https://user-images.githubusercontent.com/103395655/169429558-705c23e0-f08c-4245-8626-39a7f8fe42c2.mp4