From 0dc2e73940de8958f634a97fc3204307a67e0ecf Mon Sep 17 00:00:00 2001 From: Yohann Tilotti Date: Tue, 10 Dec 2024 18:33:15 +0100 Subject: [PATCH] fix(doc): Incompatibility filter_query and max_results --- src/Autocomplete/doc/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Autocomplete/doc/index.rst b/src/Autocomplete/doc/index.rst index d9dd23c4c7d..33b635e3e6d 100644 --- a/src/Autocomplete/doc/index.rst +++ b/src/Autocomplete/doc/index.rst @@ -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) {