From 3ea5b7830d4c3d8dda6f67c89de7ff5da680a0d7 Mon Sep 17 00:00:00 2001 From: Sami Mokaddem Date: Mon, 30 Oct 2023 09:10:42 +0100 Subject: [PATCH] fix: [genericElements:alignmentField] Use correct URL for individual entries --- .../genericElements/SingleViews/Fields/alignmentField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/element/genericElements/SingleViews/Fields/alignmentField.php b/templates/element/genericElements/SingleViews/Fields/alignmentField.php index 48a78ab..40d3184 100644 --- a/templates/element/genericElements/SingleViews/Fields/alignmentField.php +++ b/templates/element/genericElements/SingleViews/Fields/alignmentField.php @@ -37,7 +37,7 @@ if ($field['scope'] === 'individuals') { foreach ($extracted['alignments'] as $alignment) { $alignmentEntryHtml = '[' . $this->Bootstrap->node('span', ['class' => ['fw-bold']], h($alignment['type'])) . ']'; $alignmentEntryHtml .= $this->Bootstrap->node('span', ['class' => ['ms-1']], sprintf( - '%s', + '%s', $baseurl, h($alignment['individual']['id']), h($alignment['individual']['email'])