This commit is contained in:
Jean-Fabien 2014-07-23 01:47:00 +00:00
commit 41c73cfc55
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ abstract class SearchIndex extends ViewableData {
);
}
else if ($manyMany = $singleton->many_many($lookup)) {
$class = $manyMany[0];
$class = $manyMany[1];
$options['multi_valued'] = true;
$options['lookup_chain'][] = array(
'call' => 'method', 'method' => $lookup,