mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
remove unnecessary call to getURLParams()
The result of getURLParams was never used / cleaned up -- and it breaks the ability to edit a UserDefinedForm in a GridField. (eg via the holderpage or versioned-gridfield module)
This commit is contained in:
parent
8303f27c39
commit
833f171496
@ -41,11 +41,7 @@ class UserFormsGridFieldFilterHeader extends GridFieldFilterHeader {
|
||||
|
||||
$selectedField = $state->filter;
|
||||
$selectedValue = $state->value;
|
||||
|
||||
// retrieve a list of all the available form fields that have been
|
||||
// submitted in this form.
|
||||
$params = $gridField->getForm()->getController()->getURLParams();
|
||||
|
||||
|
||||
// show dropdown of all the fields available from the submitted form fields
|
||||
// that have been saved. Takes the titles from the currently live form.
|
||||
$columnField = new DropdownField('FieldNameFilter', '');
|
||||
|
Loading…
Reference in New Issue
Block a user