From fa9f1e80e02349570aad25a8b5813d267f1d83c9 Mon Sep 17 00:00:00 2001 From: Giorgio Sironi Date: Wed, 11 Dec 2024 09:33:22 +0000 Subject: [PATCH] Release terms for reviewed preprints teasers on /reviewed-preprints https://github.com/elifesciences/issues/issues/9034 --- src/ViewModel/Converter/ReviewedPreprintTeaserConverter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ViewModel/Converter/ReviewedPreprintTeaserConverter.php b/src/ViewModel/Converter/ReviewedPreprintTeaserConverter.php index 5549b974..1341a9da 100644 --- a/src/ViewModel/Converter/ReviewedPreprintTeaserConverter.php +++ b/src/ViewModel/Converter/ReviewedPreprintTeaserConverter.php @@ -51,8 +51,8 @@ public function convert($object, string $viewModel = null, array $context = []) $this->createContextLabel($object), $object->getThumbnail() ? $this->smallTeaserImage($object) : null, ViewModel\TeaserFooter::forArticle( - $meta - // $object->getElifeAssessment() ? $this->buildTeaserTerms($object->getElifeAssessment()) : null + $meta, + $object->getElifeAssessment() ? $this->buildTeaserTerms($object->getElifeAssessment()) : null ) ); }