Skip to content

Commit ab9afcf

Browse files
authored
Merge pull request #167 from Flowpack/bugfix-nodeindex-by-workspace
BUGFIX: Set workspace if specified for nodeindex:indexnode command
2 parents 090c783 + 362c0d0 commit ab9afcf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Classes/Flowpack/ElasticSearch/ContentRepositoryAdaptor/Command/NodeIndexCommandController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ public function indexNodeCommand($identifier, $workspace = null)
181181
$indexInWorkspace($identifier, $workspace);
182182
}
183183
} else {
184+
$workspace = $this->workspaceRepository->findByIdentifier($workspace);
184185
$indexInWorkspace($identifier, $workspace);
185186
}
186187
}

0 commit comments

Comments
 (0)