mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
Add FieldDefinitions and CopyFieldDefinitions to casting property in order to render them as HTMLText
This commit is contained in:
parent
3160c066c0
commit
561550c538
@ -35,6 +35,11 @@ abstract class SolrIndex extends SearchIndex
|
||||
|
||||
protected $templatesPath = null;
|
||||
|
||||
private static $casting = [
|
||||
'FieldDefinitions' => 'HTMLText',
|
||||
'CopyFieldDefinitions' => 'HTMLText'
|
||||
];
|
||||
|
||||
/**
|
||||
* List of boosted fields
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user