I made a view of entity form submissions and I have a date field that is correctly rendered if I add it in the fields of the view.

If I try to add a filter based on that date field it is not added as date field but as a number reference, so I don't have the date filter criteria to select.

I tried to make a PHP filter but I can't access to date field data.

Comments

smurfxx created an issue. See original summary.

joelpittet’s picture

Project: Entityform » Date
Category: Bug report » Support request

This is a views or date module question, has nothing to do with entityform.

I've moved it to the date module because that is the module that has created the date field, I'm assuming from the issue summary.

If the date is a property provided by entityform bring this issue back here.

smurfxx’s picture

I don't know who is the responsible of this issue but date field is rendered fine when I add it in the view fields.

joelpittet’s picture

The date_views_filter_handler handler class is created by the date module. That's the class that type of field. Make sure date_views is enabled. Also check what the base table is for your view.

PHP filter should never be used (My personal opinion).

smurfxx’s picture

Damn I'm really stupid! Date views module was not enabled... I'm really sorry!

joelpittet’s picture

Status: Active » Fixed

No worries, glad I could hint to help

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.