diff --git a/CRM/Case/Form/CaseView.php b/CRM/Case/Form/CaseView.php index bf50e3ec6a4d..6ef33b6d899c 100644 --- a/CRM/Case/Form/CaseView.php +++ b/CRM/Case/Form/CaseView.php @@ -457,16 +457,16 @@ public function buildQuickForm() { 'entity_table' => 'civicrm_case', 'tag_id.parent_id.is_tagset' => 1, 'options' => ['limit' => 0], - 'return' => ["tag_id.parent_id", "tag_id.parent_id.name", "tag_id.name"], + 'return' => ["tag_id.parent_id", "tag_id.parent_id.label", "tag_id.label"], ]); foreach ($tagSetItems['values'] as $tag) { $tagSetTags += [ $tag['tag_id.parent_id'] => [ - 'name' => $tag['tag_id.parent_id.name'], + 'label' => $tag['tag_id.parent_id.label'], 'items' => [], ], ]; - $tagSetTags[$tag['tag_id.parent_id']]['items'][] = $tag['tag_id.name']; + $tagSetTags[$tag['tag_id.parent_id']]['items'][] = $tag['tag_id.label']; } } $this->assign('tagSetTags', $tagSetTags); diff --git a/templates/CRM/Case/Form/CaseView.tpl b/templates/CRM/Case/Form/CaseView.tpl index bb5d90f05809..dc6b80ea4071 100644 --- a/templates/CRM/Case/Form/CaseView.tpl +++ b/templates/CRM/Case/Form/CaseView.tpl @@ -304,8 +304,8 @@ {foreach from=$tagSetTags item=displayTagset}
{/foreach}