Closed C3000 closed 3 years ago
Hello @C3000,
thank you for reporting this issue. I was able to reproduce it with a unit-test, and already prepared a fix in #77 for it.
In case you can not wait for the next release, there is also the way to filter the response after sending the request with \FINDOLOGIC\Api\Responses\Autocomplete\SuggestResponse::getFilteredSuggestions()
.
Describe the bug The use of autocompleteBlocks for the suggest request is not possible.
How to reproduce Steps to reproduce the behavior:
What happens
Expected behavior A valid response is expected.
Screenshots
Environment details:
Additional context Workaround: Use the method addIndividualParam like ->addIndividualParam( SuggestQueryParameter::AUTOCOMPLETEBLOCKS, [BlockType::ORDERNUMBER_BLOCK], SuggestRequest::ADD_VALUE )