chg: [analyst-data:index] Added missing fields in the indexes

feature/analyst-data
Sami Mokaddem 2024-01-26 14:57:28 +01:00
parent 6742f9ed42
commit 0f97c07ab7
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 9 additions and 0 deletions

View File

@ -58,6 +58,10 @@
} else if ($modelSelection === 'Opinion') {
$fields = array_merge($fields,
[
[
'name' => __('Comment'),
'data_path' => $modelSelection . '.comment'
],
]
);
@ -74,6 +78,11 @@
'sort' => $modelSelection . '.related_object_uuid',
'data_path' => $modelSelection . '.related_object_uuid'
],
[
'name' => __('Relationship_type'),
'sort' => $modelSelection . '.relationship_type',
'data_path' => $modelSelection . '.relationship_type'
],
]
);
}