API Include File.ParentID in fulltext search results

Fixes https://github.com/silverstripe-labs/silverstripe-secureassets/issues/22
This commit is contained in:
Damian Mooyman 2016-03-07 13:15:19 +13:00
parent ef769da57b
commit 634e86f949

View File

@ -178,7 +178,7 @@ class MySQLDatabase extends SS_Database {
"Relevance" => $relevance['SiteTree'], "CanViewType"
),
'File' => array(
"ClassName", "$baseClasses[File].\"ID\"", "ParentID" => "_{$charset}''",
"ClassName", "$baseClasses[File].\"ID\"", "ParentID",
"Title", "MenuTitle" => "_{$charset}''", "URLSegment" => "_{$charset}''", "Content",
"LastEdited", "Created",
"Filename", "Name",