BUGFIX Fixed duplicate relationship name which confused GridField

This commit is contained in:
Ingo Schommer 2012-03-14 17:19:28 +01:00
parent b6401c2386
commit 31f8f35626

View File

@ -15,7 +15,7 @@ class Company extends DataObject {
public static $has_one = array( public static $has_one = array(
'RelationFieldsTestPage' => 'RelationFieldsTestPage', 'RelationFieldsTestPage' => 'RelationFieldsTestPage',
'GridFieldTestPage' => 'GridFieldTestPage' 'GridFieldTestPageHasOne' => 'GridFieldTestPage'
); );
public static $has_many = array( public static $has_many = array(