mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #931 from patbolo/ticket/8881
BUGFIX Use the default string 'Any' instead of 'All' for class name crit...
This commit is contained in:
commit
ec5c9fb966
@ -152,7 +152,7 @@ class CMSSiteTreeFilter_Search extends CMSSiteTreeFilter {
|
||||
}
|
||||
|
||||
// Match against exact ClassName
|
||||
if (isset($data['ClassName']) && $data['ClassName'] != 'All') {
|
||||
if (isset($data['ClassName']) && $data['ClassName'] != 'Any') {
|
||||
$klass = Convert::raw2sql($data['ClassName']);
|
||||
$where[] = "\"ClassName\" = '$klass'";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user