Fix event graph tag scope view

pull/9247/head
vincenzocaputo 2023-08-10 16:13:37 +00:00
parent 3c097f8202
commit d06d67b6dc
1 changed files with 4 additions and 0 deletions

View File

@ -372,6 +372,8 @@
'id' => 'tag_edge_id_' . $i,
'from' => $attr['id'],
'to' => $tag['name'],
'type' => isset($tag['relationship_type']) ? $tag['relationship_type'] : '',
'comment' => '',
);
$tagSet[$tag['name']] = $tag;
array_push($this->__json['relations'], $toPush);
@ -410,6 +412,8 @@
'id' => "tag_edge_id_" . $i,
'from' => sprintf('o-%s', $obj['id']),
'to' => $tag['name'],
'type' => isset($tag['relationship_type']) ? $tag['relationship_type'] : '',
'comment' => '',
);
$tagSet[$tag['name']] = $tag;
array_push($added_value, $tag['name']);