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:
Brice Burgess 2014-11-25 17:09:06 -05:00
parent 8303f27c39
commit 833f171496
1 changed files with 1 additions and 5 deletions

View File

@ -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', '');