From ba2d9a46f09e853a8c54d61cdcfe3b48970f4279 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Vernet?= Date: Thu, 30 Mar 2017 12:39:02 +0200 Subject: [PATCH] [doc] missing parameter --- Resources/doc/book/7-complex-dynamic-backends.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } ```