mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUG FIX: Fulltext search fields restored
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@74085 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
03acac8e59
commit
66ca0daa61
@ -86,8 +86,8 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
|
|||||||
|
|
||||||
static $indexes = array(
|
static $indexes = array(
|
||||||
"SearchFields" => Array('type'=>'fulltext', 'value'=>'Title, MenuTitle, Content, MetaTitle, MetaDescription, MetaKeywords'),
|
"SearchFields" => Array('type'=>'fulltext', 'value'=>'Title, MenuTitle, Content, MetaTitle, MetaDescription, MetaKeywords'),
|
||||||
//"TitleSearchFields" => Array('type'=>'fulltext', 'value'=>'Title'),
|
"TitleSearchFields" => Array('type'=>'fulltext', 'value'=>'Title'),
|
||||||
//"ContentSearchFields" => Array('type'=>'fulltext', 'value'=>'Content'),
|
"ContentSearchFields" => Array('type'=>'fulltext', 'value'=>'Content'),
|
||||||
"URLSegment" => true,
|
"URLSegment" => true,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user