mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUG: Fix enum filter in Search component from adding Any
as a filter
Fixes #702
This commit is contained in:
parent
24b9dbc8ef
commit
a28e2e183e
@ -145,7 +145,7 @@ class DBEnum extends DBString
|
|||||||
public function scaffoldSearchField($title = null)
|
public function scaffoldSearchField($title = null)
|
||||||
{
|
{
|
||||||
$anyText = _t('SilverStripe\\ORM\\FieldType\\DBEnum.ANY', 'Any');
|
$anyText = _t('SilverStripe\\ORM\\FieldType\\DBEnum.ANY', 'Any');
|
||||||
return $this->formField($title, null, true, $anyText, "($anyText)");
|
return $this->formField($title, null, true, '', "($anyText)");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user