mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Merge pull request #643 from creative-commoners/pulls/4.4/make-gridfield-injectable
NEW Update GridField creation to be injectable
This commit is contained in:
commit
ce65dc557f
@ -75,7 +75,7 @@ class SubmittedForm extends DataObject
|
||||
)
|
||||
);
|
||||
|
||||
$values = new GridField(
|
||||
$values = GridField::create(
|
||||
'Values',
|
||||
'SubmittedFormField',
|
||||
$self->Values()->sort('Created', 'ASC')
|
||||
|
Loading…
Reference in New Issue
Block a user