mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #817 from tractorcow/3.0-file-index-update
FIXED: Minor adjustment to order of file fulltext search fields.
This commit is contained in:
commit
21a6390d7f
@ -44,7 +44,7 @@ class FulltextSearchable extends DataExtension {
|
||||
public static function enable($searchableClasses = array('SiteTree', 'File')) {
|
||||
$defaultColumns = array(
|
||||
'SiteTree' => '"Title","MenuTitle","Content","MetaTitle","MetaDescription","MetaKeywords"',
|
||||
'File' => '"Filename","Title","Content"'
|
||||
'File' => '"Title","Filename","Content"'
|
||||
);
|
||||
|
||||
if(!is_array($searchableClasses)) $searchableClasses = array($searchableClasses);
|
||||
|
Loading…
Reference in New Issue
Block a user