Skip to content

Commit

Permalink
BUGFIX: Make sure to hand over a string to fulltext operation
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellienert committed Apr 28, 2020
1 parent 75b1a20 commit 98c632b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
prototype(Flowpack.SearchPlugin:Search) < prototype(Neos.Neos:Content) {
templatePath = 'resource://Flowpack.SearchPlugin/Private/Fusion/Content/SearchPlugin/Search/Search.html'

searchTerm = ${request.arguments.search}
searchTerm = ${String.toString(request.arguments.search)}
searchQuery = ${this.searchTerm ? Search.query(site).fulltext(this.searchTerm).nodeType('Neos.Neos:Document') : null}

totalSearchResults = ${this.searchQuery.count()}
Expand Down

0 comments on commit 98c632b

Please sign in to comment.