From 1df6b7f0c676fa9a2d39d42f17a224a2bfbc0ffc Mon Sep 17 00:00:00 2001 From: Simon Kuehn Date: Mon, 18 May 2026 11:16:30 +0000 Subject: [PATCH] fix: use entity.instance instead of ea.entity.instance in field template Co-Authored-By: Claude Sonnet 4.6 --- templates/admin/field/photos.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/admin/field/photos.html.twig b/templates/admin/field/photos.html.twig index 09fa79a..3e5e71f 100644 --- a/templates/admin/field/photos.html.twig +++ b/templates/admin/field/photos.html.twig @@ -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) %}