mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #8504 from open-sausages/pulls/4.3/702-fix-enum-search-filter
BUG: Fix enum filter in Search component adding `Any` as a filter
This commit is contained in:
commit
f40da0d552
@ -145,7 +145,7 @@ class DBEnum extends DBString
|
||||
public function scaffoldSearchField($title = null)
|
||||
{
|
||||
$anyText = _t('SilverStripe\\ORM\\FieldType\\DBEnum.ANY', 'Any');
|
||||
return $this->formField($title, null, true, $anyText, "($anyText)");
|
||||
return $this->formField($title, null, true, '', "($anyText)");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user