Skip to content

Commit

Permalink
ENH Update code to reflect changes in silverstripe/admin (#11463)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Nov 19, 2024
1 parent 2830c87 commit 1e9eaa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Forms/GridField/GridFieldFilterHeader.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace SilverStripe\Forms\GridField;

use LogicException;
use SilverStripe\Admin\LeftAndMain;
use SilverStripe\Admin\FormSchemaController;
use SilverStripe\Control\Controller;
use SilverStripe\Control\HTTPResponse;
use SilverStripe\Core\ClassInfo;
Expand Down Expand Up @@ -425,7 +425,7 @@ public function getSearchFormSchema(GridField $gridField)
return new HTTPResponse(_t(__CLASS__ . '.SearchFormFaliure', 'No search form could be generated'), 400);
}

$parts = $gridField->getRequest()->getHeader(LeftAndMain::SCHEMA_HEADER);
$parts = $gridField->getRequest()->getHeader(FormSchemaController::SCHEMA_HEADER);
$schemaID = $gridField->getRequest()->getURL();
$data = FormSchema::singleton()
->getMultipartSchema($parts, $schemaID, $form);
Expand Down

0 comments on commit 1e9eaa1

Please sign in to comment.