Skip to content

Commit 07cbb0b

Browse files
committed
minor #2440 [Autocomplete] Fix Incompatibility filter_query and max_results (doc) (ytilotti)
This PR was merged into the 2.x branch. Discussion ---------- [Autocomplete] Fix Incompatibility filter_query and max_results (doc) | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Issues | Fix #769 | License | MIT Fix in the documentation the incompatibility between filter_query and max_results. Commits ------- 0dc2e73 fix(doc): Incompatibility filter_query and max_results
2 parents ef5bee1 + 0dc2e73 commit 07cbb0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Autocomplete/doc/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ to the options above, you can also pass:
250250

251251
``filter_query`` (default: ``null``)
252252
If you want to completely control the query made for the "search results",
253-
use this option. This is incompatible with ``searchable_fields``::
253+
use this option. This is incompatible with ``searchable_fields`` and ``max_results``::
254254

255255
[
256256
'filter_query' => function(QueryBuilder $qb, string $query, EntityRepository $repository) {

0 commit comments

Comments
 (0)