From bbafc9a6ea4b90df1b6a4bf914ae2836c434d027 Mon Sep 17 00:00:00 2001
From: Eric Bremner <ebremner@uwaterloo.ca>
Date: Thu, 5 Aug 2021 15:07:17 +0000
Subject: [PATCH] ISTWCMS-4588: updating profiles to get sources so that teaser
 splays correctly

---
 src/Service/UWService.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Service/UWService.php b/src/Service/UWService.php
index e476b8b0..c226efb0 100644
--- a/src/Service/UWService.php
+++ b/src/Service/UWService.php
@@ -282,6 +282,7 @@ class UWService implements UWServiceInterface {
           'affiliation' => $get_header ? 'field_uw_ct_profile_affiliation' : NULL,
           'content' => $get_content ? 'field_uw_profile_summary' : NULL,
           'image' => $get_header ? 'field_uw_ct_profile_image' : NULL,
+          'sources' => $get_image ? 'field_uw_ct_profile_image' : NULL,
           'tags' => $get_footer ? $tag_list : NULL,
           'link_profile' => $get_footer ? 'field_uw_ct_profile_info_link' : NULL,
           'personal_webpage' => $get_footer ? 'field_uw_ct_profile_link_persona' : NULL,
-- 
GitLab