diff --git a/templates/web/prod/results/record.html.twig b/templates/web/prod/results/record.html.twig index db28c33865..7f02b2a283 100644 --- a/templates/web/prod/results/record.html.twig +++ b/templates/web/prod/results/record.html.twig @@ -53,8 +53,12 @@ {% set l_width = 30 %}
+ {% set collectionLogo = collection_logo(record.baseId) %} + {% if collectionLogo is empty %} {{ record.collectionName }} - {{ collection_logo(record.baseId) }} + {% else %} + {{ collectionLogo|raw }} + {% endif %}