ShopSearchSimple::scaffoldSearchFields
This is verbatim copied from GridFieldAddExistingAutocompleter, with the exception that the default is 'PartialMatch' instead of 'StartsWith'
Signature
protected function scaffoldSearchFields(String
$dataClass )
Parameters
$dataClass
— object- - the class name
Returns
- Array|null
- - names of the searchable fields, with filters if appropriate