We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdb8bec commit d294f7fCopy full SHA for d294f7f
1 file changed
Resources/Private/Fusion/Helper/SearchResultrenderer/SearchresultRenderer.fusion
@@ -4,5 +4,5 @@ prototype(Flowpack.SearchPlugin:SearchResultRenderer) < prototype(Neos.Fusion:Co
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