sonata-project/SonataAdminBundle — pull request #842 by lopsided (2012-06-20 16:11:16+00:00)
Title: Add setDefaultOptions methods to DateRangeType and DateTimeRangeType

On adding

->add('created_at', 'doctrine_orm_datetime_range')

or

->add('created_at', 'doctrine_orm_date_range')

to my configureDatagridFilters function in my Admin class I had the error:

"The option "field_options" does not exist."

I fixed this by adding setDefaultOptions methods to DateRangeType and DateTimeRangeType