Skip to content

Commit bd006ea

Browse files
TASK: Update example suggest URI parameters
1 parent d1e1d13 commit bd006ea

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
@@ -54,7 +54,7 @@ the `_all` field, i.e. "the fulltext index".
5454
These can be used to provide autocompletion on the search input using a JS library of your choice.
5555
In case you need to build the URI to the suggest controller yourself, this is what the form uses:
5656

57-
{f:uri.action(action: 'index', controller: 'Suggest', package: 'Flowpack.SearchPlugin', format: 'json', absolute: 1)}
57+
{f:uri.action(action: 'index', controller: 'Suggest', package: 'Flowpack.SearchPlugin', format: 'json', absolute: 1, arguments: {contextNodeIdentifier: node.identifier, dimensionCombination: dimensionCombination})}
5858

5959
The returned JSON looks like this (with a `term` of "content" after indexing the Neos demo site):
6060

0 commit comments

Comments
 (0)