You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 9, 2023. It is now read-only.
my_partial.antlers.html -->
{{ dev:full_images }}
Working fine!
{{ /dev:full_images }}
Add modifier:
{{ dev:full_images where="default_size:1" }}
Only one output: still working fine!
{{ /dev:full_images }}
(Don't know if that's another bug but using with group_by throws an error array_key_exists(): Argument #1 ($key) must be a valid array offset type, but that's not why I'm here for)
Use dynamic key as a parameter on the partial call
{{ partial:partials/picture gset="full_images" }}
Loop in partial
{{ dev[gset] }}
Still working fine!
{{ /dev[gset] }}
Add modifier:
{{ dev[gset] where="default_size:1" }}
No output, not working anymore
{{ /dev[gset] }}
Expected behavior
Expects behavior to be the same with dynamic key value or static variable name.
Environment details (please complete the following information):
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Create globals set with array of objects:
Loop in partial
Add modifier:
(Don't know if that's another bug but using with
group_by
throws an errorarray_key_exists(): Argument #1 ($key) must be a valid array offset type
, but that's not why I'm here for)Use dynamic key as a parameter on the partial call
Loop in partial
Add modifier:
Expected behavior
Expects behavior to be the same with dynamic key value or static variable name.
Environment details (please complete the following information):
The text was updated successfully, but these errors were encountered: