mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 12:05:29 +00:00
Update manyMany array index as SS4.0 as an additional class in history.
This commit is contained in:
parent
8e07d4a5c6
commit
590ac4cb25
@ -112,7 +112,7 @@ abstract class SearchIndex extends ViewableData
|
||||
'through' => 'has_many', 'class' => $dataclass, 'otherclass' => $class, 'foreignkey' => $schema->getRemoteJoinField($className, $lookup, 'has_many')
|
||||
);
|
||||
} elseif ($manyMany = $schema->manyManyComponent($className, $lookup)) {
|
||||
$class = $manyMany[1];
|
||||
$class = $manyMany[2];
|
||||
$options['multi_valued'] = true;
|
||||
$options['lookup_chain'][] = array(
|
||||
'call' => 'method', 'method' => $lookup,
|
||||
|
Loading…
x
Reference in New Issue
Block a user