diff --git a/code/search/SearchIndex.php b/code/search/SearchIndex.php index ec87358..ad9a56a 100644 --- a/code/search/SearchIndex.php +++ b/code/search/SearchIndex.php @@ -292,6 +292,7 @@ abstract class SearchIndex extends ViewableData if (preg_match('/^(\w+)\(/', $type, $match)) { $type = $match[1]; } + list($type, $args) = Object::parse_class_spec($type); if (is_subclass_of($type, 'StringField')) { $this->addFulltextField($field); }