Skip to content

Commit 2c602ea

Browse files
committed
TASK: Use the CanRender prototype from Fusion core
1 parent 6bf2756 commit 2c602ea

3 files changed

Lines changed: 6 additions & 8 deletions

File tree

Resources/Private/Fusion/Helper/ResultRendering/ResultRendering.fusion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
prototype(Flowpack.SearchPlugin:SingleResult) < prototype(Neos.Fusion:Case) {
22
default {
3-
condition = Flowpack.SearchPlugin:CanRender {
3+
condition = Neos.Fusion:CanRender {
44
type = ${node.nodeType.name + 'SearchResult'}
55
}
66
type = ${node.nodeType.name + 'SearchResult'}
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
prototype(Flowpack.SearchPlugin:CanRender).@class = 'Flowpack\\SearchPlugin\\FusionObjects\\CanRenderImplementation'
2-
31
include: **/*.fusion
42

53
ajaxSearch = Flowpack.SearchPlugin:AjaxSearch

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
"type": "neos-package",
55
"description": "Plugin for search integration via content node",
66
"require": {
7-
"neos/content-repository": "^3.0 || ^4.0 || ^5.0",
7+
"neos/content-repository": "^4.0 || ^5.0",
88
"neos/content-repository-search": "^3.0",
9-
"neos/eel": "^4.0 || ^5.0 || ^6.0",
10-
"neos/flow": "^4.0 || ^5.0 || ^6.0",
11-
"neos/fusion": "^3.0 || ^4.0 || ^5.0",
12-
"neos/neos": "^3.0 || ^4.0 || ^5.0"
9+
"neos/eel": "^5.0 || ^6.0",
10+
"neos/flow": "^5.0 || ^6.0",
11+
"neos/fusion": "^4.0 || ^5.0",
12+
"neos/neos": "^4.0 || ^5.0"
1313
},
1414
"suggest": {
1515
"flowpack/elasticsearch-contentrepositoryadaptor": "Provides search using Elasticsearch",

0 commit comments

Comments
 (0)