diff --git a/code/CMSSiteTreeFilter.php b/code/CMSSiteTreeFilter.php index ed60454e..d3f1891e 100644 --- a/code/CMSSiteTreeFilter.php +++ b/code/CMSSiteTreeFilter.php @@ -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'"; }