diff --git a/Resources/doc/book/7-complex-dynamic-backends.md b/Resources/doc/book/7-complex-dynamic-backends.md index ea161735bd..98db259e9f 100644 --- a/Resources/doc/book/7-complex-dynamic-backends.md +++ b/Resources/doc/book/7-complex-dynamic-backends.md @@ -148,12 +148,12 @@ class AdminController extends Controller { // Creates the Doctrine query builder used to get all the items. Override it // to filter the elements displayed in the listing - protected function createListQueryBuilder($entityClass, $sortDirection, $sortField = null); + protected function createListQueryBuilder($entityClass, $sortDirection, $sortField = null, $dqlFilter = null); // Performs the actual database query to get all the items (using the query // builder created with the previous method). You can override this method // to filter the results before sending them to the template - protected function findAll($entityClass, $page = 1, $maxPerPage = 15, $sortField = null, $sortDirection = null); + protected function findAll($entityClass, $page = 1, $maxPerPage = 15, $sortField = null, $sortDirection = null, $dqlFilter = null); } ```