Skip to content

Commit d782f58

Browse files
committed
BUGFIX: make search plugin work for Neos.io
1 parent e8ec4f2 commit d782f58

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Resources/Private/TypoScript/SearchPlugin.ts2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
prototype(Flowpack.SearchPlugin:Search) {
1+
prototype(Flowpack.SearchPlugin:Search) < prototype(TYPO3.Neos:Content) {
2+
templatePath = 'resource://Flowpack.SearchPlugin/Private/Templates/NodeTypes/Search.html'
23

34
searchTerm = ${request.arguments.search}
45
searchQuery = ${this.searchTerm ? Search.query(site).fulltext(this.searchTerm) : null}

0 commit comments

Comments
 (0)