mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR CHANGE: column name quoted properly
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@87705 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
fbe610ae13
commit
d8b987bae7
@ -96,7 +96,7 @@ class SearchContext extends Object {
|
||||
$fields = array("\"".ClassInfo::baseDataClass($this->modelClass).'".*');
|
||||
if($this->modelClass != $classes[0]) $fields[] = '"'.$classes[0].'".*';
|
||||
//$fields = array_keys($model->db());
|
||||
$fields[] = '"'.$classes[0].'".ClassName AS "RecordClassName"';
|
||||
$fields[] = '"'.$classes[0].'".\"ClassName\" AS "RecordClassName"';
|
||||
return $fields;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user