fix: use entity.instance instead of ea.entity.instance in field template
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
14eab1ab5c
commit
1df6b7f0c6
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{# Article photo gallery — shown on detail page #}
|
||||
{% set article = ea.entity.instance %}
|
||||
{% set article = entity.instance %}
|
||||
{% set articleId = article.id.toRfc4122() %}
|
||||
{% set photos = article.photos|sort((a, b) => a.sortOrder <=> b.sortOrder) %}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue