mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
API Include File.ParentID in fulltext search results
Fixes https://github.com/silverstripe-labs/silverstripe-secureassets/issues/22
This commit is contained in:
parent
ef769da57b
commit
634e86f949
@ -178,7 +178,7 @@ class MySQLDatabase extends SS_Database {
|
|||||||
"Relevance" => $relevance['SiteTree'], "CanViewType"
|
"Relevance" => $relevance['SiteTree'], "CanViewType"
|
||||||
),
|
),
|
||||||
'File' => array(
|
'File' => array(
|
||||||
"ClassName", "$baseClasses[File].\"ID\"", "ParentID" => "_{$charset}''",
|
"ClassName", "$baseClasses[File].\"ID\"", "ParentID",
|
||||||
"Title", "MenuTitle" => "_{$charset}''", "URLSegment" => "_{$charset}''", "Content",
|
"Title", "MenuTitle" => "_{$charset}''", "URLSegment" => "_{$charset}''", "Content",
|
||||||
"LastEdited", "Created",
|
"LastEdited", "Created",
|
||||||
"Filename", "Name",
|
"Filename", "Name",
|
||||||
|
Loading…
Reference in New Issue
Block a user