From ca1d38dffdb7e9657aafaf070c2d8de2c88f8208 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 10 Aug 2012 00:14:02 +0200 Subject: [PATCH] BUG Localize DataObject->summaryFields() --- model/DataObject.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/model/DataObject.php b/model/DataObject.php index 6a1bed964..d7f5db288 100644 --- a/model/DataObject.php +++ b/model/DataObject.php @@ -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; }