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:
Ingo Schommer 2012-09-26 02:15:05 -07:00
commit 21a6390d7f

View File

@ -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);