mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
NEW Update GridField creation to be injectable
This commit is contained in:
parent
93c25b764f
commit
a626d0a66e
@ -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