Skip to content
Snippets Groups Projects
Commit 5902e773 authored by Akshath's avatar Akshath
Browse files

Fix for #1523 - Optimization of record label computation (Generalizing data...

Fix for #1523 - Optimization of record label computation (Generalizing data population for entity names)
parent 4d67b5fc
No related branches found
No related tags found
4 merge requests!802Field Mapping ID fix,!793#1533 issue on date formate,!756Fix for #1523 - Optimization of record label computation.,!752Fix for #1523 - Optimization of record label computation.
......@@ -288,9 +288,10 @@ class CRMEntity {
break;
}
$record_label = (count($entityFieldNames) > 1) ?
$this->column_fields[$entityFieldNames[0]].' '.$this->column_fields[$entityFieldNames[1]] :
$this->column_fields[$entityFieldNames[0]];
$record_label = '';
foreach($entityFieldNames as $entityFieldName) {
$record_label .= $this->column_fields[$entityFieldName]." ";
}
$label = decode_html($record_label);
$this->column_fields['label'] = $label;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment