Skip to content

Commit 9e82607

Browse files
committed
Merge pull request #23 from Flowpack/fix-manual-nodeindexing
[BUGFIX] Node indexing broken due to required parameter
2 parents 4043b1a + becfa35 commit 9e82607

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Classes/Flowpack/ElasticSearch/ContentRepositoryAdaptor/Indexer/NodeIndexingManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function injectSettings(array $settings) {
7373
* @param mixed $targetWorkspace In case this is triggered during publishing, a Workspace will be passed in
7474
* @return void
7575
*/
76-
public function indexNode(Node $node, $targetWorkspace) {
76+
public function indexNode(Node $node, $targetWorkspace = NULL) {
7777
$this->nodesToBeRemoved->detach($node);
7878
$this->nodesToBeIndexed->attach($node);
7979
$this->targetWorkspaceNamesForNodesToBeIndexed[$node->getContextPath()] = $targetWorkspace instanceof \TYPO3\TYPO3CR\Domain\Model\Workspace ? $targetWorkspace->getName() : NULL;

0 commit comments

Comments
 (0)