From 0ebbb5386436db6d3eaa13d12b8d358d10b17b75 Mon Sep 17 00:00:00 2001 From: Eric Bremner <ebremner@uwaterloo.ca> Date: Fri, 10 Dec 2021 18:12:34 +0000 Subject: [PATCH] ISTWCMS-5214: updating opportunity teaser fields --- src/Service/UwNodeContent.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Service/UwNodeContent.php b/src/Service/UwNodeContent.php index 4c4eaa2b..9dc77c3a 100644 --- a/src/Service/UwNodeContent.php +++ b/src/Service/UwNodeContent.php @@ -657,6 +657,7 @@ class UwNodeContent { if ($view_mode == 'teaser') { $content_data['footer']['posted'] = $this->addToContentData('date', 'field_uw_opportunity_date'); $content_data['footer']['deadline'] = $this->addToContentData('date', 'field_uw_opportunity_deadline'); + $content_data['footer']['opportunity_type'] = $this->addToContentData('terms', ['field_uw_opportunity_type']); } if ($node_flags['get_footer']) { -- GitLab