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:
Simon Kuehn 2026-05-18 11:16:30 +00:00
parent 14eab1ab5c
commit 1df6b7f0c6

View file

@ -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) %}