sonata-project/SonataDoctrinePhpcrAdminBundle — pull request #45 by sjopet (2012-08-02 11:25:27+00:00)
Title: moved creation of proxy query to ModelManager to be able to use the hook (createQuery) in the admin.

Because the createQuery method in the admin class never gets called it's not possible to specify a custom query to fetch objects that are displayed in the admin's list.

By moving the creation of the proxy query from the DatagridBuilder to the ModelManager it's now possible to use the same flow that is used in the DoctrineORMAdminBundle (builder->getBaseDatagrid, admin->createQuery, ModelManager->createQuery)