From dc961513487efd530598d09b6f17955aac5ae4d6 Mon Sep 17 00:00:00 2001 From: Carlos Barberis Date: Fri, 2 Jul 2010 00:13:05 +0000 Subject: [PATCH] BUGFIX: TableListField headings i18n translation (ticket #5742) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@107414 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/TableListField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/TableListField.php b/forms/TableListField.php index 4bd7ab1f9..2b66c1958 100755 --- a/forms/TableListField.php +++ b/forms/TableListField.php @@ -351,7 +351,7 @@ JS $headings[] = new ArrayData(array( "Name" => $fieldName, - "Title" => ($this->sourceClass) ? singleton($this->sourceClass)->fieldLabel($fieldTitle) : $fieldTitle, + "Title" => ($this->sourceClass) ? singleton($this->sourceClass)->fieldLabel($fieldName) : $fieldTitle, "IsSortable" => $isSortable, "SortLink" => $sortLink, "SortBy" => $isSorted,