Skip to content

Commit

Permalink
[BUGFIX] by default, use an empty search term
Browse files Browse the repository at this point in the history
This prevents a fatal error with current Neos master.
  • Loading branch information
skurfuerst committed Mar 18, 2015
1 parent 43b9f44 commit 3c9cfd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/Private/TypoScript/SearchPlugin.ts2
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ prototype(Flowpack.SearchPlugin:Search) {
@override.searchResults = ${this.searchQuery.execute()}


searchQuery = ${Search.query(site).fulltext(request.arguments.search)}
searchQuery = ${Search.query(site).fulltext(request.arguments.search || '')}

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

0 comments on commit 3c9cfd4

Please sign in to comment.