Skip to content

Commit

Permalink
Ensure properties are loaded properly
Browse files Browse the repository at this point in the history
  • Loading branch information
dlubitz authored Feb 24, 2023
1 parent 5b62c98 commit 78a4003
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Classes/Indexer/NodeIndexer.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,7 @@ public function indexNode(NodeInterface $node, $targetWorkspaceName = null, $ind

$fulltextData = [];

if (isset($this->indexedNodeData[$identifier])) {
$properties = $this->indexClient->findOneByIdentifier($identifier);
if (isset($this->indexedNodeData[$identifier]) ($properties = $this->indexClient->findOneByIdentifier($identifier)) !== false) {
unset($properties['__identifier__']);
$properties['__workspace'] .= ', #' . ($targetWorkspaceName ?? $node->getContext()->getWorkspaceName()) . '#';
if (array_key_exists('__dimensionshash', $properties)) {
Expand Down

0 comments on commit 78a4003

Please sign in to comment.