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:
Ingo Schommer 2014-02-10 10:08:46 +13:00
commit ec5c9fb966

View File

@ -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'";
}