Skip to content

Commit

Permalink
Merge pull request #41 from Flowpack/bugfix/fix-fusion-prototype
Browse files Browse the repository at this point in the history
BUGFIX: Make Search plugin renderable
  • Loading branch information
kdambekalns authored May 17, 2021
2 parents 37d0228 + 7f07005 commit f8a94b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Resources/Private/Fusion/Root.fusion
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
prototype(Flowpack.SimpleSearch.ContentRepositoryAdaptor:Search) {
prototype(Flowpack.SimpleSearch.ContentRepositoryAdaptor:Search) < prototype(Neos.Fusion:Template) {
templatePath = 'resource://Flowpack.SimpleSearch.ContentRepositoryAdaptor/Private/Templates/NodeTypes/Search.html'

searchResults = ${Search.query(site).nodeType('Neos.Neos:Document').log().fulltext(request.arguments.search.word).execute()}
searchWord = ${request.arguments.search.word}

Expand Down

0 comments on commit f8a94b6

Please sign in to comment.