Skip to content

Commit

Permalink
fix(doc): Incompatibility filter_query and max_results
Browse files Browse the repository at this point in the history
  • Loading branch information
ytilotti authored Dec 10, 2024
1 parent 49ec396 commit 0dc2e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Autocomplete/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ to the options above, you can also pass:

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

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

0 comments on commit 0dc2e73

Please sign in to comment.