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