The search functionality of the grid field in the Localisation tab does not work.
The error
[Emergency] Uncaught TypeError: SilverStripe\ORM\Search\SearchContext::prepareQuery(): Argument #3 ($existingQuery) must be of type ?SilverStripe\ORM\DataList, SilverStripe\ORM\ArrayList given, called in /Users/mo/Sites/immigration-nz/vendor/silverstripe/framework/src/ORM/Search/SearchContext.php on line 162
Module version(s) affected
7.1.3
Description
The search functionality of the grid field in the Localisation tab does not work.
The error
The issue is with the return data type from https://github.com/tractorcow-farm/silverstripe-fluent/blob/7/src/Extension/Traits/FluentObjectTrait.php#L69 is
ArrayList
How to reproduce
Possible Solution
Remove
GridFieldFilterHeader
fromGridFieldConfig
in https://github.com/tractorcow-farm/silverstripe-fluent/blob/7/src/Extension/Traits/FluentObjectTrait.php#L161Additional Context
No response
Validations
silverstripe/installer
(with any code examples you've provided)