sonata-project/SonataAdminBundle — pull request #344 by benji07 (2011-10-20 11:56:16+00:00)
Title: Init query with setMaxResults = null instead of 0

If we set maxResults to 0 we have 0 results but if set it to null, doctrine remove the limit

I use this code to add a "See all" link inside my listAction

```php
getRequest()->query->get('all', 0)) {
$this->admin->setMaxPerPage(null);
}
```