Skip to content

Commit

Permalink
Merge pull request #73 from intotheweb101/main
Browse files Browse the repository at this point in the history
Update SubsitesVirtualPageExtension.php
  • Loading branch information
wilr authored Sep 16, 2024
2 parents ec0590c + aa17002 commit 3addea3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Extensions/SubsitesVirtualPageExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public function exportObjectToAlgolia($toIndex)
}

$attributes->push('objectClassName', $originalObject->ClassName);
$attributes->push('objectSubsiteID', $this->owner->SubsiteID);

$specs = $originalObject->config()->get('algolia_index_fields');
$attributes = $indexer->addSpecsToAttributes($originalObject, $attributes, $specs);
Expand Down

0 comments on commit 3addea3

Please sign in to comment.