diff --git a/modules/opencase_entities/src/Entity/OCActor.php b/modules/opencase_entities/src/Entity/OCActor.php index 936180c..10a7dba 100644 --- a/modules/opencase_entities/src/Entity/OCActor.php +++ b/modules/opencase_entities/src/Entity/OCActor.php @@ -115,9 +115,10 @@ class OCActor extends RevisionableContentEntityBase implements OCActorInterface } } - $name = $this->get('first_name') ->value . ' '; + $name = $this->get('first_name')->value . ' '; if ($this->get('middle_names')->value) $name .= $this->get('middle_names')->value . ' '; - $name .= $this->get('last_name')->value; + $name .= $this->get('last_name')->value . ' '; + $name .= '(' . $this->bundle() . ')'; $this->setName($name);