BUG Localize DataObject->summaryFields()

This commit is contained in:
Ingo Schommer 2012-08-10 00:14:02 +02:00
parent 77d939f0b2
commit ca1d38dffd

View File

@ -3156,6 +3156,10 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
// Final fail-over, just list ID field
if(!$fields) $fields['ID'] = 'ID';
// Localize fields (if possible)
$labels = $this->fieldLabels(false);
$fields = array_intersect_key($labels, $fields);
return $fields;
}