In file application/helpers/relation_helper.php update
line 144 with script:
$data = hooks()->apply_filters('get_relation_data', $data, compact('type', 'rel_id', 'extra'), $q);
-Line 330 update this code
return hooks()->apply_filters('relation_values',
[
'id' => $id,
'name' => $name,
'link' => $link,
'addedfrom' => $addedfrom,
'subtext' => $subtext,
'type' => $type,
], $relation);