We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 32fa434 + 42481a0 commit 5f26c3aCopy full SHA for 5f26c3a
1 file changed
Resources/Private/Fusion/Helper/SearchResultrenderer/SearchresultRenderer.fusion
@@ -4,5 +4,5 @@ prototype(Flowpack.SearchPlugin:SearchResultRenderer) < prototype(Neos.Fusion:Lo
4
itemRenderer = Flowpack.SearchPlugin:SingleResult
5
itemName = 'node'
6
// we also make the full ElasticSearch hit available to nested rendering, if possible
7
- itemRenderer.@context.searchHit = ${searchResults.searchHitForNode(node)}
+ itemRenderer.@context.searchHit = ${Type.instance(searchResults , '\Flowpack\ElasticSearch\ContentRepositoryAdaptor\Eel\ElasticSearchQueryResult') ? searchResults.searchHitForNode(node) : null}
8
}
0 commit comments