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

Fix multiple query loops #13

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

s3rgiosan
Copy link
Contributor

Hi @psorensen

This pull request resolves an issue encountered when multiple query loops exist on the same page.

When the curated query loop block is placed first with a selection of curated posts, followed by a standard query loop, the latter is affected by the query arguments of the curated block, particularly with the post__in arg. This issue happens only in the frontend, while both blocks function as intended in the editor.

@psorensen
Copy link
Owner

This works great! Thanks @s3rgiosan

@psorensen psorensen merged commit 506faa8 into psorensen:main Mar 13, 2024
2 of 3 checks passed
@s3rgiosan s3rgiosan deleted the fix/multiple-query-loop-blocks branch March 13, 2024 11:13
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 this pull request may close these issues.

None yet

2 participants