Updated docs to correctly work for 3.1.x and future (mentioned in issue #52)
This commit is contained in:
parent
c59ec68690
commit
3f07ee7450
|
@ -27,6 +27,10 @@ class TestObject extends DataObject {
|
|||
'Title'=>'Text',
|
||||
'SortOrder'=>'Int'
|
||||
);
|
||||
|
||||
public static $has_one=array(
|
||||
'Parent'=>'TestObject'
|
||||
);
|
||||
|
||||
public static $default_sort='SortOrder';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue