sonata-project/SonataDoctrineORMAdminBundle — pull request #135 by benlumley (2012-08-02 19:07:26+00:00)
Title: Fix for invalid option input_type when using date filters

Move default input_type option from renderSettings to getDefaultOptions on AbstractDateFilter.

Believe based on the docs this is where the option should be defaulted, and it's causing an error where it is - https://github.com/sonata-project/SonataAdminBundle/issues/905

Think this is an alternative fix to https://github.com/sonata-project/SonataAdminBundle/pull/917 - which I think is sidestepping the issue rather than fixing it by preventing the error. Think this addresses the cause.