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

[5.x] Adds "no_results" to automatic array variables #11234

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

JohnathonKoster
Copy link
Contributor

This PR fixes #11218 by adding no_results to the automatic array variables that are added when looping.

The issue is ultimately caused by the cascading logic. Tags that output no_results: true don't output no_results: false, which causes Antlers to search until it finds a variable with the same name.

@jasonvarga jasonvarga merged commit b51b692 into statamic:5.x Dec 11, 2024
19 checks passed
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.

Additional {{ no_results }} tags revert to the value of the first instance of the tag
2 participants