Skip to content

Commit 4ed34f2

Browse files
Merge pull request #43 from Flowpack/ajax-search-documentation
BUGFIX: Fix action & argument in AJAX search docs
2 parents 76dd8ed + 24f6161 commit 4ed34f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ In case you need to build the URI to the suggest controller yourself, this is wh
5959

6060
The plugin comes with a controller that can be reached like this per default, using `GET`:
6161

62-
{f:uri.action(action: 'index', controller: 'AjaxSearch', package: 'Flowpack.SearchPlugin', absolute: 1)}
62+
{f:uri.action(action: 'search', controller: 'AjaxSearch', package: 'Flowpack.SearchPlugin', arguments: {node: node, q: ''}, absolute: 1)}
6363

6464
It expects the search term as a parameter named `q` (as defined in `AjaxSearch.fusion`). This controller
6565
renders the search results and returns them as HTML without any of the page template. It can therefore

0 commit comments

Comments
 (0)