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] Ensure default values for globals are available in templates #10909

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

duncanmcclean
Copy link
Member

This pull request fixes an issue where the default values for Globals weren't available in templates.

This was due to the fact that the AugmentedVariables class was only making available fields with actual values, unlike entries where we also merge in the keys of all blueprint fields.

Fixes #10901.

@jasonvarga jasonvarga merged commit 4dbae34 into 5.x Oct 9, 2024
18 checks passed
@jasonvarga jasonvarga deleted the fix/default-values-for-globals branch October 9, 2024 18:41
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.

Default values of global fields are not available in Antlers
2 participants