mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Merge pull request #240 from briceburg/master
remove unnecessary call to getURLParams()
This commit is contained in:
commit
e3c7673af9
@ -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